mirror of
https://github.com/flatpak/flatpak.git
synced 2026-03-17 22:49:36 -04:00
Disable PolicyKit dialogs for --assumeyes
The flag is really meant to disable all interaction, and this includes PolicyKit dialogs. Closes: #2389 Approved by: alexlarsson
This commit is contained in:
committed by
Atomic Bot
parent
b8cad064eb
commit
efa901ff39
@@ -699,6 +699,8 @@ flatpak_cli_transaction_new (FlatpakDir *dir,
|
||||
g_autoptr(FlatpakInstallation) installation = NULL;
|
||||
g_autoptr(FlatpakCliTransaction) self = NULL;
|
||||
|
||||
flatpak_dir_set_no_interaction (dir, disable_interaction);
|
||||
|
||||
installation = flatpak_installation_new_for_dir (dir, NULL, error);
|
||||
if (installation == NULL)
|
||||
return NULL;
|
||||
|
||||
Reference in New Issue
Block a user