diff options
author | Harald Hoyer <harald@redhat.com> | 2009-05-07 14:12:55 +0200 |
---|---|---|
committer | Harald Hoyer <harald@redhat.com> | 2009-05-14 16:59:17 +0200 |
commit | af6afcb2c78a7f034f2f4dca2310ccf3b575f840 (patch) | |
tree | 01cf4e15578ce3687cf2d3c3ceffaf6638a11f94 /rc.d/init.d/halt | |
parent | da1f0a03d1a9ae65f36102e71120a3cfe7dd432c (diff) | |
download | initscripts-af6afcb2c78a7f034f2f4dca2310ccf3b575f840.tar initscripts-af6afcb2c78a7f034f2f4dca2310ccf3b575f840.tar.gz initscripts-af6afcb2c78a7f034f2f4dca2310ccf3b575f840.tar.bz2 initscripts-af6afcb2c78a7f034f2f4dca2310ccf3b575f840.tar.xz initscripts-af6afcb2c78a7f034f2f4dca2310ccf3b575f840.zip |
fixed "Determine reboot/halt via existing INIT_HALT environment variable. (#475006)"
Diffstat (limited to 'rc.d/init.d/halt')
-rwxr-xr-x | rc.d/init.d/halt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rc.d/init.d/halt b/rc.d/init.d/halt index 796ffdc6..45c69113 100755 --- a/rc.d/init.d/halt +++ b/rc.d/init.d/halt @@ -217,6 +217,6 @@ fi [ -n "$kexec_command" ] && $kexec_command -e -x >& /dev/null HALTARGS="-d" -[ "$INIT_HALT" != "HALT"] && HALTARGS="$HALTARGS -p" +[ "$INIT_HALT" != "HALT" ] && HALTARGS="$HALTARGS -p" exec $command $HALTARGS |