From 39f0acaf9e18ede9786474868d29cef7146feb3b Mon Sep 17 00:00:00 2001 From: freekdk Date: Mon, 25 Sep 2023 14:42:41 +0200 Subject: [PATCH] Update status.sh removed unnecessary backslash --- bin/status.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/status.sh b/bin/status.sh index 1ce260d..c49bcb7 100755 --- a/bin/status.sh +++ b/bin/status.sh @@ -116,7 +116,7 @@ if [ "$status" = "" ]; then echo "curl -s https://isc.sans.edu/api/checkapikey/$user/$nonce/$hash/$version/$piid" fi -if echo $status | grep -q 'ok<\/result>'; then +if echo $status | grep -q 'ok'; then echo "${GREEN}API Key configuration ok${NC}" if [ "$version" != "" ]; then currentversion=$(echo $status | egrep -o '([0-9\.]+)' | egrep -o '[0-9\.]+')