fix the return value
This commit is contained in:
parent
dee2158b5a
commit
9865bc6fd4
@ -1,6 +1,6 @@
|
|||||||
diff -up sysstat-9.0.4/sysstat.in.ii sysstat-9.0.4/sysstat.in
|
diff -up sysstat-9.0.4/sysstat.in.ii sysstat-9.0.4/sysstat.in
|
||||||
--- sysstat-9.0.4/sysstat.in.ii 2009-02-15 15:49:24.000000000 +0100
|
--- sysstat-9.0.4/sysstat.in.ii 2009-02-15 15:49:24.000000000 +0100
|
||||||
+++ sysstat-9.0.4/sysstat.in 2009-09-14 15:22:34.000000000 +0200
|
+++ sysstat-9.0.4/sysstat.in 2009-09-14 15:47:07.000000000 +0200
|
||||||
@@ -4,11 +4,13 @@
|
@@ -4,11 +4,13 @@
|
||||||
# @INIT_DIR@/sysstat
|
# @INIT_DIR@/sysstat
|
||||||
# (C) 2000-2009 Sebastien Godard (sysstat <at> orange.fr)
|
# (C) 2000-2009 Sebastien Godard (sysstat <at> orange.fr)
|
||||||
@ -16,7 +16,12 @@ diff -up sysstat-9.0.4/sysstat.in.ii sysstat-9.0.4/sysstat.in
|
|||||||
|
|
||||||
RETVAL=0
|
RETVAL=0
|
||||||
SYSCONFIG_DIR=@SYSCONFIG_DIR@
|
SYSCONFIG_DIR=@SYSCONFIG_DIR@
|
||||||
@@ -31,7 +33,7 @@ case "$1" in
|
@@ -27,11 +29,11 @@ case "$1" in
|
||||||
|
if [ -f "${exitCodeIndicator}" ]; then
|
||||||
|
rm -f ${exitCodeIndicator}
|
||||||
|
else
|
||||||
|
- RETVAL=1
|
||||||
|
+ RETVAL=2
|
||||||
fi
|
fi
|
||||||
echo
|
echo
|
||||||
;;
|
;;
|
||||||
|
Loading…
Reference in New Issue
Block a user