mirror of
https://github.com/systemd/systemd.git
synced 2026-07-01 04:06:56 +00:00
updatectl: allow interactive authorization
This commit is contained in:
committed by
Luca Boccassi
parent
9cd3e63014
commit
83c1e8ff5f
@@ -1615,6 +1615,8 @@ static int run(int argc, char *argv[]) {
|
||||
if (arg_transport == BUS_TRANSPORT_LOCAL)
|
||||
polkit_agent_open();
|
||||
|
||||
(void) sd_bus_set_allow_interactive_authorization(bus, true);
|
||||
|
||||
return dispatch_verb(argc, argv, verbs, bus);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user