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