diff options
author | Ton Voon <tonvoon@users.sourceforge.net> | 2006-03-23 17:16:38 +0000 |
---|---|---|
committer | Ton Voon <tonvoon@users.sourceforge.net> | 2006-03-23 17:16:38 +0000 |
commit | ada5f2fe02f4171e82ff7adc39d5f46dda40e4b1 (patch) | |
tree | 9fcc284629332af23c36449cd430c16bbacfb260 /NPTest.pm | |
parent | f82e0dfa81f134c5e064730fac7690a7aa435f59 (diff) | |
download | monitoring-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.pm | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -599,8 +599,8 @@ sub output { sub perf_output { my $self = shift; $_ = $self->{output}; - s/[^|]*\|//; - return $_; + /\|(.*)$/; + return $1 || ""; } sub testCmd { |