From 11b4cdf9f7cd591572f2cdd016468e734ae3d5ef Mon Sep 17 00:00:00 2001 From: Alejandro Mery Date: Sat, 12 Jan 2008 15:04:12 -0500 Subject: [PATCH] Fixed typo in etc/rc.d/functions.in's status() --- base/sysfiles/etc_rc.d_functions.in.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base/sysfiles/etc_rc.d_functions.in.txt b/base/sysfiles/etc_rc.d_functions.in.txt index ba4800629..e14f34dbb 100644 --- a/base/sysfiles/etc_rc.d_functions.in.txt +++ b/base/sysfiles/etc_rc.d_functions.in.txt @@ -54,7 +54,7 @@ title() { status() { $ECHO -n "$MOVE_UP$MOVE_EOL$MOVE_LEFT_STATUS" - if [ ${1:-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"