aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/init.d
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>1999-03-14 05:46:25 +0000
committerBill Nottingham <notting@redhat.com>1999-03-14 05:46:25 +0000
commitc6e4fe98949b5294bcb96ffd510f0857367a21be (patch)
treee9eb1b816fafc4d05d296e797c95996962275e32 /rc.d/init.d
parent6241531ce63110c8e1cf2f208c89ad1e346bc1b8 (diff)
downloadinitscripts-c6e4fe98949b5294bcb96ffd510f0857367a21be.tar
initscripts-c6e4fe98949b5294bcb96ffd510f0857367a21be.tar.gz
initscripts-c6e4fe98949b5294bcb96ffd510f0857367a21be.tar.bz2
initscripts-c6e4fe98949b5294bcb96ffd510f0857367a21be.tar.xz
initscripts-c6e4fe98949b5294bcb96ffd510f0857367a21be.zip
if [ 0 ] don't work in shell. *thwap*
Diffstat (limited to 'rc.d/init.d')
-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