Fix typo in check_apt_pending
This commit is contained in:
parent
e3b59c08c8
commit
98ab2f8f30
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user