Преглед на файлове

Merge branch 'patch-2' of https://github.com/DarkNinja77/nagios-plugins into 734

Sebastian Wolf преди 2 години
родител
ревизия
c8bee29327
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      plugins-scripts/check_ntp.pl

+ 1 - 1
plugins-scripts/check_ntp.pl

@@ -214,7 +214,7 @@ while (<NTPDATE>) {
 		$stratum = $1;
 	}
 	
-	if (/(offset|adjust)\s+([-.\d]+)/i) {
+	if (/(offset|adjust)\s+([-+.\d]+)/i) {
 		$offset = $2;
 
 		# An offset of 0.000000 with an error is probably bogus. Actually,