From 83c1e8ff5f9b3f81fe44ed104fbe5f7f6f66e8dd Mon Sep 17 00:00:00 2001 From: Abderrahim Kitouni Date: Mon, 9 Dec 2024 09:20:02 +0100 Subject: [PATCH] updatectl: allow interactive authorization --- src/sysupdate/updatectl.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/sysupdate/updatectl.c b/src/sysupdate/updatectl.c index 5517cf27355..f4e60da7756 100644 --- a/src/sysupdate/updatectl.c +++ b/src/sysupdate/updatectl.c @@ -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); } -- 2.47.3