mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-05-28 04:35:40 -04:00
corrected result codes - for sh; corrected substition for libexec - Tom Bertelson
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@47 f882894a-f735-0410-b71e-b25c423dba1c
This commit is contained in:
parent
9e971876cd
commit
4bea73077b
2 changed files with 5 additions and 4 deletions
|
|
@ -29,7 +29,7 @@ function led() {
|
|||
return "\"" led3 "/libexec\" " ;
|
||||
|
||||
}
|
||||
return led1;
|
||||
return "\"" led1 "\"" ;
|
||||
}
|
||||
|
||||
BEGIN {
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
#! /bin/sh
|
||||
|
||||
STATE_DEPENDENT=-2
|
||||
STATE_UNKNOWN=-1
|
||||
STATE_OK=0
|
||||
STATE_WARNING=1
|
||||
STATE_CRITICAL=2
|
||||
STATE_UNKNOWN=3
|
||||
STATE_DEPENDENT=4
|
||||
|
||||
if test -x /usr/bin/printf; then
|
||||
ECHO=/usr/bin/printf
|
||||
|
|
@ -19,4 +19,5 @@ print_revision() {
|
|||
|
||||
support() {
|
||||
$ECHO "@SUPPORT@" | /bin/sed -e 's/\n/ /g'
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue