Skip to content

Commit

Permalink
Update status.sh removed unnecessary backslash
Browse files Browse the repository at this point in the history
  • Loading branch information
freekdk authored Sep 25, 2023
1 parent de54342 commit 39f0aca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/status.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 '<result>ok<\/result>'; then
if echo $status | grep -q '<result>ok</result>'; then
echo "${GREEN}API Key configuration ok${NC}"
if [ "$version" != "" ]; then
currentversion=$(echo $status | egrep -o '<version>([0-9\.]+)</version>' | egrep -o '[0-9\.]+')
Expand Down

0 comments on commit 39f0aca

Please sign in to comment.