core: only set event source name when we create an event source
This commit is contained in:
+1
-1
@@ -81,7 +81,7 @@ static int scope_arm_timer(Scope *s) {
|
||||
return sd_event_source_set_enabled(s->timer_event_source, SD_EVENT_ONESHOT);
|
||||
}
|
||||
|
||||
r = sd_event_add_time(
|
||||
r = sd_event_add_time(
|
||||
UNIT(s)->manager->event,
|
||||
&s->timer_event_source,
|
||||
CLOCK_MONOTONIC,
|
||||
|
||||
Reference in New Issue
Block a user