From 912bfc12b6b3a68a2636acef38aed2715d061b5f Mon Sep 17 00:00:00 2001 From: Matthew Stidham Date: Mon, 15 Mar 2021 12:39:40 -0700 Subject: [PATCH] We need to kill java after it finds that there is an update to the GUI. Signed-off-by: Matthew Stidham --- updateTest.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/updateTest.bash b/updateTest.bash index fb97b1dd..e95aabc7 100755 --- a/updateTest.bash +++ b/updateTest.bash @@ -126,7 +126,6 @@ sudo rm -f /tmp/*.txt sudo rm -f $GUILog $GUIUpdate $CTLGUI $CTLH $ST touch "$NO_AUTO" -pgrep java &>/dev/null && killall -9 java touch $GUIUpdate touch $ST if [ ! -z "$SKIP_INSTALL" ] && [ x$SKIP_INSTALL = x1 ]; then @@ -150,6 +149,7 @@ else fi sleep 1 rm -f "$NO_AUTO" +pgrep java &>/dev/null && killall -9 java start_gui echo "Doing connectTest.py > $CTLGUI" python3 ${scripts}/connectTest.py &> $CTLGUI