From bd2fdf17a53665ce9eeb671bf8d0bda503ebf6cc Mon Sep 17 00:00:00 2001 From: Kroese Date: Mon, 22 Sep 2025 20:24:05 +0200 Subject: [PATCH] fix: Syntax for arithmetic operations Removed redundant assignment of RAM_SIZE variable. --- src/reset.sh | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/reset.sh b/src/reset.sh index 7b477b0..bef5e47 100644 --- a/src/reset.sh +++ b/src/reset.sh @@ -101,8 +101,6 @@ if [[ "${RAM_SIZE,,}" == "max" ]]; then RAM_WANTED=$(( RAM_WANTED / 1073741825 )) RAM_SIZE="${RAM_WANTED}G" fi - RAM_SIZE="${RAM_WANTED}G" -fi if [ -z "${RAM_SIZE//[0-9. ]}" ]; then [ "${RAM_SIZE%%.*}" -lt "130" ] && RAM_SIZE="${RAM_SIZE}G" || RAM_SIZE="${RAM_SIZE}M"