aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins-scripts/subst.in2
-rw-r--r--plugins-scripts/utils.sh.in7
2 files changed, 5 insertions, 4 deletions
diff --git a/plugins-scripts/subst.in b/plugins-scripts/subst.in
index 9140157b..5b70fbed 100644
--- a/plugins-scripts/subst.in
+++ b/plugins-scripts/subst.in
@@ -29,7 +29,7 @@ function led() {
return "\"" led3 "/libexec\" " ;
}
- return led1;
+ return "\"" led1 "\"" ;
}
BEGIN {
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 @@
#! /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'
-} \ No newline at end of file
+}
+