Skip to content

Commit

Permalink
Merge branch 'main' of github.com:DShield-ISC/dshield
Browse files Browse the repository at this point in the history
  • Loading branch information
jullrich committed Oct 14, 2023
2 parents b8373eb + dc3c646 commit 2d2c48c
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 2d2c48c

Please sign in to comment.