summaryrefslogtreecommitdiffstats
path: root/NPTest.pm
diff options
context:
space:
mode:
authorTon Voon <tonvoon@users.sourceforge.net>2006-03-23 17:16:38 (GMT)
committerTon Voon <tonvoon@users.sourceforge.net>2006-03-23 17:16:38 (GMT)
commitada5f2fe02f4171e82ff7adc39d5f46dda40e4b1 (patch)
tree9fcc284629332af23c36449cd430c16bbacfb260 /NPTest.pm
parentf82e0dfa81f134c5e064730fac7690a7aa435f59 (diff)
downloadmonitoring-plugins-ada5f2fe02f4171e82ff7adc39d5f46dda40e4b1.tar.gz
check_disk now errors if a specified directory does not exist (cf df /foo)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1351 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'NPTest.pm')
-rw-r--r--NPTest.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/NPTest.pm b/NPTest.pm
index 106e8f1..f3fb896 100644
--- a/NPTest.pm
+++ b/NPTest.pm
@@ -599,8 +599,8 @@ sub output {
599sub perf_output { 599sub perf_output {
600 my $self = shift; 600 my $self = shift;
601 $_ = $self->{output}; 601 $_ = $self->{output};
602 s/[^|]*\|//; 602 /\|(.*)$/;
603 return $_; 603 return $1 || "";
604} 604}
605 605
606sub testCmd { 606sub testCmd {