aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/init.d/functions
diff options
context:
space:
mode:
Diffstat (limited to 'rc.d/init.d/functions')
-rwxr-xr-xrc.d/init.d/functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/rc.d/init.d/functions b/rc.d/init.d/functions
index 45de373a..5f4e1d6a 100755
--- a/rc.d/init.d/functions
+++ b/rc.d/init.d/functions
@@ -253,7 +253,7 @@ action() {
echo "$initlogcmds" >&21
fi
- if [ $rc ]; then
+ if [ $rc -eq 0 ]; then
[ "$BOOTUP" = "verbose" ] && {
if [ -n "$output" ]; then
echo