diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/login/logind-dbus.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/login/logind-dbus.c b/src/login/logind-dbus.c index 42dd54dc35..da2eb141c7 100644 --- a/src/login/logind-dbus.c +++ b/src/login/logind-dbus.c @@ -1188,6 +1188,8 @@ static DBusHandlerResult manager_message_handler( if (r < 0) return bus_send_error_reply(connection, message, &error, r); + mkdir_p("/var/lib/systemd", 0755); + r = safe_mkdir("/var/lib/systemd/linger", 0755, 0, 0); if (r < 0) return bus_send_error_reply(connection, message, &error, r); |