From ec394e23a14019e64574cccc91c73deb3a44044d Mon Sep 17 00:00:00 2001 From: Jed Reynolds Date: Wed, 18 Nov 2020 12:11:51 -0800 Subject: [PATCH] updateTest: adds message on connection --- updateTest.bash | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/updateTest.bash b/updateTest.bash index 7bf5c735..786b07eb 100755 --- a/updateTest.bash +++ b/updateTest.bash @@ -20,7 +20,7 @@ DM_FLAG="${HL}/LANforgeGUI_${verNum}/DAEMON_MODE" output=/tmp/gui_update_test trap do_sigint ABRT -trap do_sigint INT +trap do_sigint INT trap do_sigint KILL trap do_sigint PIPE trap do_sigint QUIT @@ -65,13 +65,15 @@ function wait_8080() { if [[ $connected = 0 ]]; then echo "Unable to connect, bye" return 1 + else + echo "Connection established" fi [ ! -z "$DEBUG" ] && set -x } touch $LOCKFILE -if [ -f ${GUIDIR}/down-check ]; then +if [ -f ${GUIDIR}/down-check ]; then numFound=`find ${GUIDIR} -name down-check -mmin +59 | grep -c down-check` if (( numFound >= 1 )); then