From cde3d687506d0d92a5efe8a925047b4c828e6f98 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sun, 17 Jan 2016 17:25:42 +0100 Subject: 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 --- units/console-shell.service.m4.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'units/console-shell.service.m4.in') 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 -- cgit v1.2.3-54-g00ecf