Explorar o código

Merge pull request #708 from mtelka/check_fping

check_fping.t: unresolvable address returns unknown status
dylan-at-nagios hai 1 ano
pai
achega
3ea596346f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      plugins/t/check_fping.t

+ 1 - 1
plugins/t/check_fping.t

@@ -31,7 +31,7 @@ if ( -x "./check_fping" )
 {
   $t += checkCmd( "./check_fping $host_responsive",    0,       $successOutput );
   $t += checkCmd( "./check_fping $host_nonresponsive", [ 1, 2 ] );
-  $t += checkCmd( "./check_fping $hostname_invalid",   [ 1, 2 ] );
+  $t += checkCmd( "./check_fping $hostname_invalid",   3 );
 }
 else
 {