mirror of
https://github.com/systemd/systemd.git
synced 2025-01-13 17:18:18 +03:00
timer: Use dual_timestamp_is_set() in one more place
This commit is contained in:
parent
6546045fa0
commit
e21f75afcd
@ -399,7 +399,7 @@ static void timer_enter_waiting(Timer *t, bool time_change) {
|
||||
* to that. If we don't, just start from
|
||||
* the activation time. */
|
||||
|
||||
if (t->last_trigger.realtime > 0)
|
||||
if (dual_timestamp_is_set(&t->last_trigger))
|
||||
b = t->last_trigger.realtime;
|
||||
else if (dual_timestamp_is_set(&UNIT(t)->inactive_exit_timestamp))
|
||||
b = UNIT(t)->inactive_exit_timestamp.realtime;
|
||||
|
Loading…
x
Reference in New Issue
Block a user