From aa3f33b3041f05f93cd31abbd6b29ef361e5fe8a Mon Sep 17 00:00:00 2001 From: fred Date: Sat, 31 Dec 2022 20:17:06 +0100 Subject: [PATCH] rm ~/.zen/game/players/localhost/latest --- 12345.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/12345.sh b/12345.sh index e2646ebd..ef5a1289 100755 --- a/12345.sh +++ b/12345.sh @@ -155,6 +155,7 @@ while true; do echo "UPDATING CODE git pull > ~/.zen/tmp/.lastpull" echo "$HTTPCORS" > ~/.zen/tmp/.lastpull git pull >> ~/.zen/tmp/.lastpull + rm ~/.zen/game/players/localhost/latest (cat ~/.zen/tmp/.lastpull | nc -l -p ${PORT} -q 1 > /dev/null 2>&1 &) && continue fi