1 |
commit: 225333417b72b34a592672d9b5d3f0ce01df578a |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Aug 19 08:22:50 2019 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Aug 19 08:23:05 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22533341 |
7 |
|
8 |
sys-apps/sysvinit: Minor cosmetic change to halt.sh |
9 |
|
10 |
Package-Manager: Portage-2.3.72, Repoman-2.3.17 |
11 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
12 |
|
13 |
sys-apps/sysvinit/files/halt.sh | 2 +- |
14 |
1 file changed, 1 insertion(+), 1 deletion(-) |
15 |
|
16 |
diff --git a/sys-apps/sysvinit/files/halt.sh b/sys-apps/sysvinit/files/halt.sh |
17 |
index 07a32b99574..ff68c425cd4 100644 |
18 |
--- a/sys-apps/sysvinit/files/halt.sh |
19 |
+++ b/sys-apps/sysvinit/files/halt.sh |
20 |
@@ -1,5 +1,5 @@ |
21 |
#!/bin/sh |
22 |
-if [ "$INIT_HALT" = HALT ]; then |
23 |
+if [ "${INIT_HALT}" = HALT ]; then |
24 |
exec /sbin/halt -dhn |
25 |
else |
26 |
exec /sbin/poweroff -dhn |