[monitoring-plugins] fix typo in check_uptime

Sven Nierlein <[email protected]> Thu, 26 Jul 2018 07:40:15 +0200 (CEST)
Newsgroups gmane.network.nagios.cvs
Message-ID <[email protected]>
 Module: monitoring-plugins
 Branch: master
 Commit: 0b9c85109b3b929993f0afa16cb069e67e94e872
 Author: Sven Nierlein <[email protected]>
   Date: Wed Jun 13 20:23:21 2018 +0200
    URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=0b9c851

fix typo in check_uptime

---

 plugins-scripts/check_uptime.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugins-scripts/check_uptime.pl b/plugins-scripts/check_uptime.pl
index 1f844ff..9679a7c 100755
--- a/plugins-scripts/check_uptime.pl
+++ b/plugins-scripts/check_uptime.pl
@@ -124,7 +124,7 @@ my $out_of_bounds_text = "";
 if ( $uptime_seconds > $upper_crit_threshold ) {
 	$state_str = "CRITICAL";
 	$out_of_bounds_text = "upper crit";
-} elsif ( $uptime_seconds < $lower_crit_threshold ) {
+} elsif ( $uptime_seconds < $lower_crit_threshold ) {
 	$state_str = "CRITICAL";
 	$out_of_bounds_text = "lower crit";
 } elsif ( $uptime_seconds > $upper_warn_threshold ) {