diff options
Diffstat (limited to 'src/shared/bus-wait-for-units.c')
-rw-r--r-- | src/shared/bus-wait-for-units.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/bus-wait-for-units.c b/src/shared/bus-wait-for-units.c index d73fff3dc1..49963ffe34 100644 --- a/src/shared/bus-wait-for-units.c +++ b/src/shared/bus-wait-for-units.c @@ -114,7 +114,7 @@ static int match_disconnected(sd_bus_message *m, void *userdata, sd_bus_error *e bus_wait_for_units_clear(d); if (d->ready_callback) - d->ready_callback(d, false, d->userdata); + d->ready_callback(d, BUS_WAIT_FAILURE, d->userdata); else /* If no ready callback is specified close the connection so that the event loop exits */ sd_bus_close(sd_bus_message_get_bus(m)); |