From 7924f882db288c01af5aefb7075a1d7b3ab23445 Mon Sep 17 00:00:00 2001 From: Chris Hunt Date: Tue, 31 Mar 2026 14:01:08 +0100 Subject: [PATCH] KASM-8264 Don't call setGpu when there aren't any images --- index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index 67019dc..f1a8edd 100644 --- a/index.js +++ b/index.js @@ -196,7 +196,7 @@ io.on('connection', async function (socket) { } // GPU yaml merge - if (installSettings.forceGpu !== 'disabled') { + if (installSettings.forceGpu !== 'disabled' && imagesI.images) { imagesI = await setGpu(imagesI); } @@ -236,7 +236,7 @@ io.on('connection', async function (socket) { } // GPU yaml merge - if (upgradeSettings.forceGpu !== 'disabled') { + if (upgradeSettings.forceGpu !== 'disabled' && imagesI.images) { imagesI = await setGpu(imagesI); }