Skip to content

Commit

Permalink
Merge pull request #284 from freekdk/main
Browse files Browse the repository at this point in the history
Update status.sh removed unnecessary backslash
  • Loading branch information
jullrich authored Sep 25, 2023
2 parents de54342 + 39f0aca commit dc3c646
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 dc3c646

Please sign in to comment.