hostname: Make sure we pass error to bus_verify_polkit_async()

Fixes #28943
This commit is contained in:
Daan De Meyer
2023-08-24 11:23:01 +02:00
committed by Zbigniew Jędrzejewski-Szmek
parent c9c4e599fc
commit b56ee69233
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -480,6 +480,7 @@ int bus_verify_polkit_async(
assert(call);
assert(action);
assert(registry);
assert(ret_error);
r = check_good_user(call, good_user);
if (r != 0)