summaryrefslogtreecommitdiff
path: root/units/emergency.service
diff options
context:
space:
mode:
Diffstat (limited to 'units/emergency.service')
-rw-r--r--units/emergency.service2
1 files changed, 1 insertions, 1 deletions
diff --git a/units/emergency.service b/units/emergency.service
index dd4a0703e2..7a1f81a468 100644
--- a/units/emergency.service
+++ b/units/emergency.service
@@ -22,4 +22,4 @@ KillMode=process-group
# Bash ignores SIGTERM, so we send SIGHUP first, to ensure that bash
# terminates cleanly.
-ExecStop=-/bin/kill -HUP $(MAINPID)
+ExecStop=-/bin/kill -HUP ${MAINPID}