Skip to content

Commit

Permalink
fix integer bug
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Hansson <mailto@danielhansson.nu>
  • Loading branch information
enoch85 committed Aug 4, 2023
1 parent b98e350 commit bf25e29
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions apps/imaginary.sh
Expand Up @@ -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
Expand Down

0 comments on commit bf25e29

Please sign in to comment.