summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xplugins-scripts/check_ntp.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins-scripts/check_ntp.pl b/plugins-scripts/check_ntp.pl
index 8b5fe4d..82c97ce 100755
--- a/plugins-scripts/check_ntp.pl
+++ b/plugins-scripts/check_ntp.pl
@@ -217,7 +217,7 @@ while (<NTPDATE>) {
217 # An offset of 0.000000 with an error is probably bogus. Actually, 217 # An offset of 0.000000 with an error is probably bogus. Actually,
218 # it's probably always bogus, but let's be paranoid here. 218 # it's probably always bogus, but let's be paranoid here.
219 # Has been reported that 0.0000 happens in a production environment 219 # Has been reported that 0.0000 happens in a production environment
220 # so this check should be taken out - SF tracker 1150777 220 # on Solaris 8 so this check should be taken out - SF tracker 1150777
221 #if ($offset == 0) { undef $offset;} 221 #if ($offset == 0) { undef $offset;}
222 222
223 $ntpdate_error = defined ($offset) ? $ERRORS{"OK"} : $ERRORS{"CRITICAL"}; 223 $ntpdate_error = defined ($offset) ? $ERRORS{"OK"} : $ERRORS{"CRITICAL"};