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:
commit
162149d6d9
@ -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));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user