summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMaxim Mikityanskiy <maxtram95@gmail.com>2015-01-29 01:23:07 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2015-01-30 18:48:18 -0500
commit81f5fc2d43800c23a4440ed94cfe38d579e896fe (patch)
tree53e24f4ac15f7c4835b5b3bdedabb950000c2d40 /src
parent954871d8ba15911d014f76ed2c7a9492953cf39d (diff)
core: make setting the shutdown watchdog configuration via dbus work
https://bugs.freedesktop.org/show_bug.cgi?id=88284
Diffstat (limited to 'src')
-rw-r--r--src/core/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/main.c b/src/core/main.c
index ce37c59e81..0df1f6423a 100644
--- a/src/core/main.c
+++ b/src/core/main.c
@@ -1829,6 +1829,8 @@ int main(int argc, char *argv[]) {
finish:
pager_close();
+ if (m)
+ arg_shutdown_watchdog = m->shutdown_watchdog;
m = manager_free(m);
for (j = 0; j < ELEMENTSOF(arg_default_rlimit); j++) {