diff options
author | Ton Voon <tonvoon@users.sourceforge.net> | 2006-03-23 12:01:21 +0000 |
---|---|---|
committer | Ton Voon <tonvoon@users.sourceforge.net> | 2006-03-23 12:01:21 +0000 |
commit | 61cd9f525aa236250b6768e6db2977c836c57d96 (patch) | |
tree | 107e0b4fcd7bb3c42fcc1b7c51c4e7d83c726f38 /NPTest.pm | |
parent | 3ebbe5c55bfbe0316652abc5e8466e78bc89eb7a (diff) | |
download | monitoring-plugins-61cd9f525aa236250b6768e6db2977c836c57d96.tar.gz |
Incorrect output when checking non-existent disk (John Rouillard - 1326050)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1349 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'NPTest.pm')
-rw-r--r-- | NPTest.pm | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -596,6 +596,13 @@ sub output { } } +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"; |