diff options
author | Radoslaw Pajak <r.pajak@samsung.com> | 2013-12-17 13:11:52 +0100 |
---|---|---|
committer | Lubomir Rintel <lkundrak@v3.sk> | 2015-02-11 11:55:30 +0100 |
commit | 44cd8b4e0fef0d5207b50aa44a8392cc76cf737f (patch) | |
tree | c64cf4764722c56063a3fd90e27c888915877f9e | |
parent | 8141c31e4f8b370981961a3c7ca5ab78901dee16 (diff) |
[daemon-fix] Fixed nice exiting on error during startup
Change-Id: Icb07e57ba09464f14d0bb126823d8c9846caccf8
Signed-off-by: Radoslaw Pajak <r.pajak@samsung.com>
-rw-r--r-- | bus/connection.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bus/connection.c b/bus/connection.c index 4a438c1b..0cb8bbc3 100644 --- a/bus/connection.c +++ b/bus/connection.c @@ -205,7 +205,7 @@ bus_connection_disconnected (DBusConnection *connection) d->name ? d->name : "(inactive)"); #ifdef ENABLE_KDBUS_TRANSPORT - if(bus_context_is_kdbus(d->connections->context) && (strcmp(bus_connection_get_name(connection), ":1.1"))) + if((d->name) && bus_context_is_kdbus(d->connections->context) && (strcmp(d->name, ":1.1"))) is_phantom = TRUE; #endif |