Fix typo in check_apt_pending

This commit is contained in:
Salt 2021-10-03 15:35:12 -05:00
parent e3b59c08c8
commit 98ab2f8f30

View File

@ -16,7 +16,7 @@ if [ -n "$pending" ]; then
if (( pending >= threshold_crit )); then
echo "CRITICAL - $pending package updates pending"
exit 2
elif (( pending >= thresold_warn )); then
elif (( pending >= threshold_warn )); then
echo "WARNING - $pending package updates pending"
exit 1
elif (( pending > 0 )); then