summaryrefslogtreecommitdiff
path: root/src/core/busname.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-01-22 23:36:06 +0100
committerLennart Poettering <lennart@poettering.net>2014-01-27 20:12:59 +0100
commitff975efb2e88dcd5221a2f0d76c4c87e85b821a8 (patch)
treebd117cf5ee4e74854a590311f3190cbd66b74d6b /src/core/busname.c
parent82cd413782cca6de3088c2705f839ff31abec7f9 (diff)
bus: when we cannot bus activate a service because we go down, drop one
message from the queue
Diffstat (limited to 'src/core/busname.c')
-rw-r--r--src/core/busname.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/busname.c b/src/core/busname.c
index 9b6bf07d9f..0d19311db1 100644
--- a/src/core/busname.c
+++ b/src/core/busname.c
@@ -337,8 +337,8 @@ static void busname_enter_running(BusName *n) {
log_debug_unit(UNIT(n)->id, "Suppressing activation request on %s since unit stop is scheduled.", UNIT(n)->id);
/* Flush all queued activation reqeuest by closing and reopening the connection */
+ bus_kernel_drop_one(n->starter_fd);
- busname_close_fd(n);
busname_enter_listening(n);
return;
}