summaryrefslogtreecommitdiff
path: root/src/core/dbus-manager.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-09-18 01:55:49 +0200
committerLennart Poettering <lennart@poettering.net>2012-09-18 01:55:49 +0200
commitc3090674833c8bd34fbdb0e743f1c47d85dd14fb (patch)
tree5b4676815b575e3b8a091bb1a1e150a2bc390d14 /src/core/dbus-manager.c
parentaba15a0391a04d5444319a609737c6b05f71e7c9 (diff)
selinux: use existing library calls for audit data
Diffstat (limited to 'src/core/dbus-manager.c')
-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 ae88546073..2235e36496 100644
--- a/src/core/dbus-manager.c
+++ b/src/core/dbus-manager.c
@@ -580,7 +580,7 @@ static DBusHandlerResult bus_manager_message_handler(DBusConnection *connection,
member = dbus_message_get_member(message);
r = selinux_manager_access_check(connection, message, m, &error);
- if (r)
+ if (r < 0)
return bus_send_error_reply(connection, message, &error, r);
if (dbus_message_is_method_call(message, "org.freedesktop.systemd1.Manager", "GetUnit")) {