[arch-projects] [INITSCRIPTS][PATCH 3/4] New smarter display of bad daemon names in rc.d
Sebastien Luttringer
seblu at seblu.net
Tue Aug 9 06:50:47 EDT 2011
Signed-off-by: Sebastien Luttringer <seblu at seblu.net>
---
rc.d | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/rc.d b/rc.d
index a7b214e..3d34edf 100755
--- a/rc.d
+++ b/rc.d
@@ -69,7 +69,7 @@ case $1 in
if [[ -x "/etc/rc.d/$i" ]]; then
env -i "${ENV[@]}" "/etc/rc.d/$i" "$action"
else
- printf "${C_OTHER}:: ${C_FAIL}Error: ${C_DONE}Daemon script $i does not exist.${C_CLEAR}\n"
+ printf "${C_FAIL}:: ${C_DONE}No such daemon ${C_FAIL}$i${C_CLEAR}\n"
fi
(( ret += !! $? )) # clamp exit value to 0/1
done
--
Sebastien "Seblu" Luttringer
More information about the arch-projects
mailing list