diff options
author | Daniel Mack <github@zonque.org> | 2015-09-09 15:12:28 +0200 |
---|---|---|
committer | Daniel Mack <github@zonque.org> | 2015-09-09 15:12:28 +0200 |
commit | d7acddde057d25a4fb7835943ef3c73f262ba54f (patch) | |
tree | cb6e0ab245a4ed43f1367b8164b8022f0e77fc13 /src/core/service.c | |
parent | 02736a9abce02eb53b0d504f96fc7b3e4f077020 (diff) | |
parent | 57255510c95ca3369d241502f26d7bbd8fac30a6 (diff) |
Merge pull request #1216 from poettering/coccinelle-fixes-2
Coccinelle fixes 2
Diffstat (limited to 'src/core/service.c')
-rw-r--r-- | src/core/service.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/core/service.c b/src/core/service.c index e396dbe213..248a9e8c62 100644 --- a/src/core/service.c +++ b/src/core/service.c @@ -2937,14 +2937,11 @@ static void service_notify_message(Unit *u, pid_t pid, char **tags, FDSet *fds) } /* Interpret WATCHDOG= */ - if (strv_find(tags, "WATCHDOG=1")) { + if (strv_find(tags, "WATCHDOG=1")) service_reset_watchdog(s); - } - /* Add the passed fds to the fd store */ - if (strv_find(tags, "FDSTORE=1")) { + if (strv_find(tags, "FDSTORE=1")) service_add_fd_store_set(s, fds); - } /* Notify clients about changed status or main pid */ if (notify_dbus) |