test: add missing assertion
Follow-up for 5a5cb6ba50.
Fixes CID#1643217.
This commit is contained in:
@@ -1075,7 +1075,7 @@ static int exit_on_idle_defer_handler(sd_event_source *s, void *userdata) {
|
||||
|
||||
/* Disable ourselves, which should trigger exit-on-idle after the second iteration */
|
||||
if (*c == 2)
|
||||
sd_event_source_set_enabled(s, SD_EVENT_OFF);
|
||||
ASSERT_OK(sd_event_source_set_enabled(s, SD_EVENT_OFF));
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user