From 4e651539c80982e1e73da14348c5a1c411eed378 Mon Sep 17 00:00:00 2001 From: chytrex Date: Wed, 30 Jul 2025 19:20:24 +0200 Subject: [PATCH] fix - log parser no longer spams when server is not fully started and there is no invite code --- log-parser.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/log-parser.sh b/log-parser.sh index 24aee09..4c53bf7 100755 --- a/log-parser.sh +++ b/log-parser.sh @@ -23,6 +23,8 @@ while true; do if [[ ! -f "$jcfile" ]]; then echo "$check" > "$jcfile" + elif [[ "$check" == "" ]]; then + : elif [[ ! "$check" == $(cat $jcfile) ]]; then echo "$check" > "$jcfile" datum=$(date +"[%d.%m.%Y %H:%M] ")