1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-02 19:21:53 +03:00

Merge pull request #2609 from 0xAX/service-dual-timestamp-serialization

service: remove unnecessary check that dual_timestamp is set
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2016-02-13 16:38:58 -05:00
commit 162149d6d9

View File

@ -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));