diff options
Diffstat (limited to 'src/run/run.c')
-rw-r--r-- | src/run/run.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/run/run.c b/src/run/run.c index 9f096b75b7..e1accc467b 100644 --- a/src/run/run.c +++ b/src/run/run.c @@ -648,6 +648,11 @@ static int transient_timer_set_properties(sd_bus_message *m) { if (r < 0) return r; + /* Automatically clean up our transient timers */ + r = sd_bus_message_append(m, "(sv)", "RemainAfterElapse", "b", false); + if (r < 0) + return r; + if (arg_on_active) { r = sd_bus_message_append(m, "(sv)", "OnActiveSec", "t", arg_on_active); if (r < 0) |