[Nagiosplug-checkins] nagiosplug NPTest.pm,1.8,1.9

Ton Voon tonvoon at users.sourceforge.net
Thu Mar 23 04:02:16 CET 2006


Update of /cvsroot/nagiosplug/nagiosplug
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15628

Modified Files:
	NPTest.pm 
Log Message:
Incorrect output when checking non-existent disk (John Rouillard - 1326050)


Index: NPTest.pm
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/NPTest.pm,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- NPTest.pm	31 Jan 2006 15:40:20 -0000	1.8
+++ NPTest.pm	23 Mar 2006 12:01:18 -0000	1.9
@@ -596,6 +596,13 @@
 	}
 }
 
+sub perf_output {
+	my $self = shift;
+	$_ = $self->{output};
+	s/[^|]*\|//;
+	return $_;
+}
+
 sub testCmd {
 	my $class = shift;
 	my $command = shift or die "No command passed to testCmd";





More information about the Commits mailing list