1
0
mirror of https://github.com/systemd/systemd.git synced 2025-08-25 13:49:55 +03:00

dbus-unit: remove redundant check

We checked this with an assert() a few lines up aleady, no need to check
this again.
This commit is contained in:
Lennart Poettering
2019-03-22 19:22:53 +01:00
committed by Zbigniew Jędrzejewski-Szmek
parent e59ba56d78
commit ebfb1b5724

View File

@ -358,7 +358,7 @@ int bus_unit_method_start_generic(
u,
verb,
CAP_SYS_ADMIN,
job_type < _JOB_TYPE_MAX ? polkit_message_for_job[job_type] : NULL,
polkit_message_for_job[job_type],
true,
message,
error);