aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Hoyer <harald@redhat.com>2009-05-07 14:12:55 +0200
committerHarald Hoyer <harald@redhat.com>2009-05-14 16:59:17 +0200
commitaf6afcb2c78a7f034f2f4dca2310ccf3b575f840 (patch)
tree01cf4e15578ce3687cf2d3c3ceffaf6638a11f94
parentda1f0a03d1a9ae65f36102e71120a3cfe7dd432c (diff)
downloadinitscripts-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)"
-rwxr-xr-xrc.d/init.d/halt2
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