From 97489135287a50b27d33e24c471b9883f6f86ec9 Mon Sep 17 00:00:00 2001 From: Jed Reynolds Date: Mon, 28 Dec 2020 22:03:19 -0800 Subject: [PATCH] updateTest.bash: fixes missing $, does not attempt to trap KILL, apparently not possible --- updateTest.bash | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/updateTest.bash b/updateTest.bash index f1c03f4b..52dcee55 100755 --- a/updateTest.bash +++ b/updateTest.bash @@ -24,7 +24,7 @@ D_MODE="${HL}/LANforgeGUI_${verNum}/DAEMON_MODE" trap do_sigint HUP trap do_sigint ABRT trap do_sigint INT -trap do_sigint KILL +# trap do_sigint KILL # cannot be trapped trap do_sigint PIPE trap do_sigint QUIT trap do_sigint SEGV @@ -129,7 +129,7 @@ touch "$NO_AUTO" pgrep java &>/dev/null && killall -9 java touch $GUIUpdate touch $ST -if [ ! -z "SKIP_INSTALL" ] && [ x$SKIP_INSTALL = x1 ]; then +if [ ! -z "$SKIP_INSTALL" ] && [ x$SKIP_INSTALL = x1 ]; then echo "skipping installation" | tee -a $GUIUpdate else echo "doing installation"