From 98ab2f8f30aa499b3d3a5352bf2e5ef4902a3722 Mon Sep 17 00:00:00 2001 From: Salt Date: Sun, 3 Oct 2021 15:35:12 -0500 Subject: [PATCH] Fix typo in check_apt_pending --- check_apt_pending | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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