summaryrefslogtreecommitdiff
path: root/units/console-shell.service.m4.in
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-01-17 17:25:42 +0100
committerLennart Poettering <lennart@poettering.net>2016-01-17 20:47:46 +0100
commitcde3d687506d0d92a5efe8a925047b4c828e6f98 (patch)
tree5e47ab34065c9c157b7618621a4658cfc1936a70 /units/console-shell.service.m4.in
parentc15493f4822b7176f0a6449e8f335844f512eed4 (diff)
units: don't fail if /root doesn't exist for shell units
As discussed on the ML: http://lists.freedesktop.org/archives/systemd-devel/2016-January/035594.html
Diffstat (limited to 'units/console-shell.service.m4.in')
-rw-r--r--units/console-shell.service.m4.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/units/console-shell.service.m4.in b/units/console-shell.service.m4.in
index 5c80722829..a345ec25d4 100644
--- a/units/console-shell.service.m4.in
+++ b/units/console-shell.service.m4.in
@@ -16,7 +16,7 @@ Before=getty.target
[Service]
Environment=HOME=/root
-WorkingDirectory=/root
+WorkingDirectory=-/root
ExecStart=-@SULOGIN@
ExecStopPost=-@SYSTEMCTL@ poweroff
Type=idle