diff options
Diffstat (limited to 'src/core/dbus-manager.c')
-rw-r--r-- | src/core/dbus-manager.c | 2 |
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")) { |