From 4e573b6b35d4468b4b3856a7784728f75ab2e73a Mon Sep 17 00:00:00 2001 From: Sebastien Luttringer Date: Mon, 8 Aug 2011 20:50:51 +0200 Subject: New smarter display of bad daemon names in rc.d Signed-off-by: Sebastien Luttringer --- rc.d | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'rc.d') diff --git a/rc.d b/rc.d index 5cb03f8..9b0f092 100755 --- a/rc.d +++ b/rc.d @@ -69,8 +69,8 @@ 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 \`%s' does not exist or is not executable.${C_CLEAR}\n" \ - "$i" + printf "${C_FAIL}:: ${C_DONE}Daemon ${C_FAIL}$i${C_DONE} does not exist \ +or is not executable${C_CLEAR}\n" fi (( ret += !! $? )) # clamp exit value to 0/1 done -- cgit v1.2.3