diff options
author | Bill Nottingham <notting@redhat.com> | 1999-02-04 19:11:11 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 1999-02-04 19:11:11 +0000 |
commit | ae6c4e57c4eda13956a9e5efe0956fd5c90e3a7c (patch) | |
tree | 3c12193fed2a085b512af8cc30d7865adfb10186 /rc.d/init.d/halt | |
parent | e8d2f95c03d1df94ca6ab9bab11f0f1d8e8c5893 (diff) | |
download | initscripts-ae6c4e57c4eda13956a9e5efe0956fd5c90e3a7c.tar initscripts-ae6c4e57c4eda13956a9e5efe0956fd5c90e3a7c.tar.gz initscripts-ae6c4e57c4eda13956a9e5efe0956fd5c90e3a7c.tar.bz2 initscripts-ae6c4e57c4eda13956a9e5efe0956fd5c90e3a7c.tar.xz initscripts-ae6c4e57c4eda13956a9e5efe0956fd5c90e3a7c.zip |
fixes
Diffstat (limited to 'rc.d/init.d/halt')
-rwxr-xr-x | rc.d/init.d/halt | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/rc.d/init.d/halt b/rc.d/init.d/halt index 61eab7b3..08cf9b67 100755 --- a/rc.d/init.d/halt +++ b/rc.d/init.d/halt @@ -16,7 +16,12 @@ PATH=/sbin:/bin:/usr/bin:/usr/sbin runcmd() { echo -n $1 shift - $* && echo_success -n || echo_failure -n + if [ "$BOOTUP" = "color" ]; then + $* && echo_success || echo_failure + else + $* + fi + echo } # See how we were called. |