summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/sysvinit/files')
-rw-r--r--sys-apps/sysvinit/files/halt.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys-apps/sysvinit/files/halt.sh b/sys-apps/sysvinit/files/halt.sh
index 07a32b99574f..ff68c425cd4d 100644
--- a/sys-apps/sysvinit/files/halt.sh
+++ b/sys-apps/sysvinit/files/halt.sh
@@ -1,5 +1,5 @@
#!/bin/sh
-if [ "$INIT_HALT" = HALT ]; then
+if [ "${INIT_HALT}" = HALT ]; then
exec /sbin/halt -dhn
else
exec /sbin/poweroff -dhn