summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2019-08-19 10:22:50 +0200
committerLars Wendler <polynomial-c@gentoo.org>2019-08-19 10:23:05 +0200
commit225333417b72b34a592672d9b5d3f0ce01df578a (patch)
treef68def8cb4fc6c53a2a4bd601a387def603ced1e /sys-apps/sysvinit/files
parentdev-ruby/rspec-support: cleanup (diff)
downloadgentoo-225333417b72b34a592672d9b5d3f0ce01df578a.tar.gz
gentoo-225333417b72b34a592672d9b5d3f0ce01df578a.tar.bz2
gentoo-225333417b72b34a592672d9b5d3f0ce01df578a.zip
sys-apps/sysvinit: Minor cosmetic change to halt.sh
Package-Manager: Portage-2.3.72, Repoman-2.3.17 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
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