diff options
author | Sebastien Luttringer <seblu@seblu.net> | 2011-08-08 20:50:51 +0200 |
---|---|---|
committer | Sebastien Luttringer <seblu@seblu.net> | 2011-08-27 18:08:07 +0200 |
commit | 4e573b6b35d4468b4b3856a7784728f75ab2e73a (patch) | |
tree | 43066d00cbc058d0efe41d66a6fa2e2d7fee5218 /rc.d | |
parent | 1ce1675dd7c2edf89c58be70908df289c2b2665b (diff) |
New smarter display of bad daemon names in rc.d
Signed-off-by: Sebastien Luttringer <seblu@seblu.net>
Diffstat (limited to 'rc.d')
-rwxr-xr-x | rc.d | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |