diff options
author | Jacob Okamoto <jacobokamoto@gmail.com> | 2011-06-27 03:04:23 +0200 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2011-06-27 03:04:23 +0200 |
commit | ec9532312b746c987a9b8a4570288f1233ee63f2 (patch) | |
tree | 22d1bd0b8a01c5fc518ee3f1de3d81390d3195db /rc.d | |
parent | 98f63a928fbf2184d8139599b1fd64cf43424691 (diff) |
rc.d: clear text formatting after error
Patch to fix FS#24879, clearing terminal text formatting after
nonexistent daemon script failure in rc.d.
Signed-off-by: Jacob Okamoto <jacobokamoto@gmail.com>
Signed-off-by: Tom Gundersen <teg@jklm.no>
Diffstat (limited to 'rc.d')
-rwxr-xr-x | rc.d | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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.\n" + printf "${C_OTHER}:: ${C_FAIL}Error: ${C_DONE}Daemon script $i does not exist.${C_CLEAR}\n" fi (( ret += !! $? )) # clamp exit value to 0/1 done |