diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/core/dbus-manager.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/dbus-manager.c b/src/core/dbus-manager.c index 76901c7f11..1b26e5556a 100644 --- a/src/core/dbus-manager.c +++ b/src/core/dbus-manager.c @@ -1799,15 +1799,15 @@ static int method_disable_unit_files_generic( assert(message); assert(m); - r = mac_selinux_access_check(message, verb, error); + r = sd_bus_message_read_strv(message, &l); if (r < 0) return r; - r = sd_bus_message_read_strv(message, &l); + r = sd_bus_message_read(message, "b", &runtime); if (r < 0) return r; - r = sd_bus_message_read(message, "b", &runtime); + r = mac_selinux_unit_access_check_strv(l, message, m, verb, error); if (r < 0) return r; |