core: make check for Disconnected message more precise
authorLennart Poettering <lennart@poettering.net>
Sat, 21 Dec 2013 01:40:40 +0000 (02:40 +0100)
committerLennart Poettering <lennart@poettering.net>
Sat, 21 Dec 2013 01:40:40 +0000 (02:40 +0100)
src/core/dbus.c

index ccbbc34..967f991 100644 (file)
@@ -623,6 +623,7 @@ static int bus_setup_disconnected_match(Manager *m, sd_bus *bus) {
 
         r = sd_bus_add_match(
                         bus,
+                        "sender='org.freedesktop.DBus.Local',"
                         "type='signal',"
                         "path='/org/freedesktop/DBus/Local',"
                         "interface='org.freedesktop.DBus.Local',"