From bf25e292aa7707b72459b80282136ade91313d5a Mon Sep 17 00:00:00 2001 From: Daniel Hansson Date: Fri, 4 Aug 2023 16:26:42 +0200 Subject: [PATCH] fix integer bug Signed-off-by: Daniel Hansson --- apps/imaginary.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/imaginary.sh b/apps/imaginary.sh index 30e0bd3465..d09f107964 100644 --- a/apps/imaginary.sh +++ b/apps/imaginary.sh @@ -24,11 +24,11 @@ root_check # If we can calculate the cpu and ram, then set it to the lowest possible, if not, then hardcode it to a recomended minimum. if which nproc >/dev/null 2>&1 then - ram_check Imaginary 1 - cpu_check Imaginary 1 + ram_check 2 Imaginary + cpu_check 2 Imaginary else - ram_check Imaginary 4 - cpu_check Imaginary 2 + ram_check 4 Imaginary + cpu_check 2 Imaginary fi # Compatible with NC24 and above