summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2016-02-13 16:38:58 -0500
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2016-02-13 16:38:58 -0500
commit162149d6d99e1cdea695234c55bb027b010a7528 (patch)
tree3bffac14b2035e310c5ac839d4ad0ae2d1f62ac4 /src
parent06e948901a6f70b4d10c90d05a174da0663d1aba (diff)
parent36b693a6a901dd321a7c4f8f82ed44072d04497e (diff)
Merge pull request #2609 from 0xAX/service-dual-timestamp-serialization
service: remove unnecessary check that dual_timestamp is set
Diffstat (limited to 'src')
-rw-r--r--src/core/service.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/service.c b/src/core/service.c
index ed24417859..1f6d821db3 100644
--- a/src/core/service.c
+++ b/src/core/service.c
@@ -2134,8 +2134,7 @@ static int service_serialize(Unit *u, FILE *f, FDSet *fds) {
}
}
- if (dual_timestamp_is_set(&s->watchdog_timestamp))
- dual_timestamp_serialize(f, "watchdog-timestamp", &s->watchdog_timestamp);
+ dual_timestamp_serialize(f, "watchdog-timestamp", &s->watchdog_timestamp);
unit_serialize_item(u, f, "forbid-restart", yes_no(s->forbid_restart));