summaryrefslogtreecommitdiffstats
path: root/plugins-scripts/utils.sh.in
diff options
context:
space:
mode:
authorSubhendu Ghosh <sghosh@users.sourceforge.net>2002-06-06 04:16:56 +0000
committerSubhendu Ghosh <sghosh@users.sourceforge.net>2002-06-06 04:16:56 +0000
commit4bea73077b3a601911ffb8338da8c35d00e2477a (patch)
tree8a946b91f7e0b8ff838ac1e71273d90f7f8db7f5 /plugins-scripts/utils.sh.in
parent9e971876cd15292c7e1c02deb829bd478789eed4 (diff)
downloadmonitoring-plugins-4bea73077b3a601911ffb8338da8c35d00e2477a.tar.gz
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
Diffstat (limited to 'plugins-scripts/utils.sh.in')
-rw-r--r--plugins-scripts/utils.sh.in7
1 files changed, 4 insertions, 3 deletions
diff --git a/plugins-scripts/utils.sh.in b/plugins-scripts/utils.sh.in
index 1e835e67..51727b72 100644
--- a/plugins-scripts/utils.sh.in
+++ b/plugins-scripts/utils.sh.in
@@ -1,10 +1,10 @@
1#! /bin/sh 1#! /bin/sh
2 2
3STATE_DEPENDENT=-2
4STATE_UNKNOWN=-1
5STATE_OK=0 3STATE_OK=0
6STATE_WARNING=1 4STATE_WARNING=1
7STATE_CRITICAL=2 5STATE_CRITICAL=2
6STATE_UNKNOWN=3
7STATE_DEPENDENT=4
8 8
9if test -x /usr/bin/printf; then 9if test -x /usr/bin/printf; then
10 ECHO=/usr/bin/printf 10 ECHO=/usr/bin/printf
@@ -19,4 +19,5 @@ print_revision() {
19 19
20support() { 20support() {
21 $ECHO "@SUPPORT@" | /bin/sed -e 's/\n/ /g' 21 $ECHO "@SUPPORT@" | /bin/sed -e 's/\n/ /g'
22} \ No newline at end of file 22}
23