Skip to content

Commit 2c89bbf

Browse files
committed
Update run.sh
1 parent 63994fb commit 2c89bbf

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

scripts/run.sh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,16 @@ main() {
9898

9999
log_d "tinyproxy started"
100100

101+
log_d "Stopping previous TagUI run..."
102+
103+
kill_tagui
104+
105+
if [ $? -ne 0 ]; then
106+
log_d "Got error while trying to stop TagUI run"
107+
else
108+
log_d "TagUI run stopped successfuly"
109+
fi
110+
101111
rm -rf $ROBOCAT_HOME/tagui/src/chrome/tagui_user_profile
102112
TAGUI_COMMAND="tagui $FLOW_PATH $DATA_PATH $TAGUI_ARGS"
103113
log_d "Running TagUI with the following command: $TAGUI_COMMAND"

0 commit comments

Comments
 (0)