Skip to content

Commit

Permalink
Linting
Browse files Browse the repository at this point in the history
  • Loading branch information
theseal committed Oct 1, 2024
1 parent 92c23cf commit 94c3e47
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions files/nagios/check_gpg_keys.sh
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,10 @@ done
NUM_EXPIRING=${#EXPIRING[@]}
NUM_INVALID=${#INVALIDS[@]}

if [ $CRIT -ne 0 ]; then
if [ "${CRIT}" -ne 0 ]; then
PREFIX="CRITICAL"
EXIT=2
elif [ $WARN -ne 0 ]; then
elif [ "${WARN}" -ne 0 ]; then
PREFIX="WARNING"
EXIT=1
elif [ "$NUM_INVALID" -ne 0 ]; then
Expand Down

0 comments on commit 94c3e47

Please sign in to comment.