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)
|
if (arg_transport == BUS_TRANSPORT_LOCAL)
|
||||||
polkit_agent_open();
|
polkit_agent_open();
|
||||||
|
|
||||||
|
(void) sd_bus_set_allow_interactive_authorization(bus, true);
|
||||||
|
|
||||||
return dispatch_verb(argc, argv, verbs, bus);
|
return dispatch_verb(argc, argv, verbs, bus);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user