summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorLukas Nykryn <lnykryn@redhat.com>2012-10-04 09:49:04 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2012-10-08 14:35:46 +0200
commitb3c2cf3d8ed6e228adb18f0701c157a01a076aeb (patch)
tree0dd070b584cfc22259acaee430255c023eafb680 /src/core
parent380d7cc5b7355bc6b1cafd3d93729bb9c77c5b19 (diff)
dbus-manager: check return of unit_dbus_path
Reply of dbus_message_new_method_return was check twice and path from unit_dbus_path was not.
Diffstat (limited to 'src/core')
-rw-r--r--src/core/dbus-manager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/dbus-manager.c b/src/core/dbus-manager.c
index 8a6449493a..ed9784b58f 100644
--- a/src/core/dbus-manager.c
+++ b/src/core/dbus-manager.c
@@ -641,7 +641,7 @@ static DBusHandlerResult bus_manager_message_handler(DBusConnection *connection,
goto oom;
path = unit_dbus_path(u);
- if (!reply)
+ if (!path)
goto oom;
if (!dbus_message_append_args(