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\.]+')