mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
27 lines
756 B
Diff
27 lines
756 B
Diff
From 81f5fc2d43800c23a4440ed94cfe38d579e896fe Mon Sep 17 00:00:00 2001
|
|
From: Maxim Mikityanskiy <maxtram95@gmail.com>
|
|
Date: Thu, 29 Jan 2015 01:23:07 +0100
|
|
Subject: [PATCH] core: make setting the shutdown watchdog configuration via
|
|
dbus work
|
|
|
|
https://bugs.freedesktop.org/show_bug.cgi?id=88284
|
|
---
|
|
src/core/main.c | 2 ++
|
|
1 file changed, 2 insertions(+)
|
|
|
|
diff --git a/src/core/main.c b/src/core/main.c
|
|
index ce37c59..0df1f64 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++) {
|
|
--
|
|
2.3.0
|
|
|