diff --git a/check_apt_pending b/check_apt_pending index 8531055..2bdddc4 100755 --- a/check_apt_pending +++ b/check_apt_pending @@ -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