diff --git a/base/sysfiles/etc_rc.d_functions.in.txt b/base/sysfiles/etc_rc.d_functions.in.txt index ced36c389..ba4800629 100644 --- a/base/sysfiles/etc_rc.d_functions.in.txt +++ b/base/sysfiles/etc_rc.d_functions.in.txt @@ -2,7 +2,7 @@ # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # Filename: package/.../sysfiles/etc_rc.d_functions.in.txt -# Copyright (C) 2006 - 2007 The OpenSDE Project +# Copyright (C) 2006 - 2008 The OpenSDE Project # # More information can be found in the files COPYING and README. # @@ -54,7 +54,7 @@ title() { status() { $ECHO -n "$MOVE_UP$MOVE_EOL$MOVE_LEFT_STATUS" - if [ $error -eq 0 ]; then + if [ ${1:-error} -eq 0 ]; then $ECHO "$COLOR_SUCCESS$ART_SUCCESS$COLOR_NORMAL" else $ECHO "$BELL$COLOR_FAILURE$ART_FAILURE$COLOR_NORMAL"