From f6306f7798f0ee72385561b15c519449fc7de7ef Mon Sep 17 00:00:00 2001 From: Gerhard Hoffmann Date: Sat, 11 Jun 2022 18:16:19 +0200 Subject: [PATCH] Updated check_for_spism --- UpdateController.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/UpdateController.sh b/UpdateController.sh index ef302c3..e8c3f85 100755 --- a/UpdateController.sh +++ b/UpdateController.sh @@ -51,7 +51,11 @@ wait_for_trigger() { } check_for_apism() { - return 0 + nc localhost 7778 + if [ $? -eq 0 ]; then + return 0 + fi + return 1 } check_for_updates() {