From 708f9359d0c034ab8e705ed70530770dfc447280 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 9 Aug 2025 23:48:21 -0400 Subject: [PATCH] Update config more fail --- config | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/config b/config index f6e3e99e..4f2f51e5 100755 --- a/config +++ b/config @@ -220,14 +220,15 @@ sudo modprobe snd-aloop # if [ "$2" = "n" ] ; then if [ -z "$2" ] ; then + noreboot=0 +else if [ "$2" = "n" ] ; then - noreboot=0 + echo "Reboot disabled" + noreboot=1 else fail=$2 fi -else - noreboot=1 - echo "Reboot disabled" + fi # echo "No reboot" @@ -1488,8 +1489,8 @@ elif [ "$1" = "-j" ]; then elif [ "$1" = "-M" ]; then - if [ -z $fail ]; then - echo "$fail has a value!" + if [ $fail ]; then + echo "fail has a value!" echo $fail fi