tree-wide: pass proper values (not bools) to sd_event_source_set_enabled()
This commit is contained in:
@@ -1480,7 +1480,7 @@ static int dispatch_sigterm(sd_event_source *es, const struct signalfd_siginfo *
|
||||
|
||||
log_received_signal(LOG_INFO, si);
|
||||
|
||||
(void) sd_event_source_set_enabled(es, false); /* Make sure this handler is called at most once */
|
||||
(void) sd_event_source_set_enabled(es, SD_EVENT_OFF); /* Make sure this handler is called at most once */
|
||||
|
||||
/* So on one hand we want to ensure that SIGTERMs are definitely handled in appropriate, bounded
|
||||
* time. On the other hand we want that everything pending is first comprehensively processed and
|
||||
|
||||
Reference in New Issue
Block a user