From c6e4fe98949b5294bcb96ffd510f0857367a21be Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Sun, 14 Mar 1999 05:46:25 +0000 Subject: if [ 0 ] don't work in shell. *thwap* --- rc.d/init.d/functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rc.d/init.d/functions') 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 -- cgit v1.2.1