From: Abderrahim Kitouni Date: Mon, 9 Dec 2024 08:20:02 +0000 (+0100) Subject: updatectl: allow interactive authorization X-Git-Tag: v258-rc2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=83c1e8ff5f9b3f81fe44ed104fbe5f7f6f66e8dd;p=thirdparty%2Fsystemd.git updatectl: allow interactive authorization --- 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); }