Commit 6daeb37f authored by Jean Raby's avatar Jean Raby Committed by Allan McRae
Browse files

pacman: silence "info" msg when using --print

This allows for parsing the output of:
    pacman --upgrade --print-format '<format>' pkg.zst

without having to remove info messages from it.
Signed-off-by: Allan McRae's avatarAllan McRae <>
parent 776b7c1e
Pipeline #21356 passed with stage
in 1 minute and 26 seconds
......@@ -99,7 +99,9 @@ int pacman_upgrade(alpm_list_t *targets)
goto fail_free;
printf(_("loading packages...\n"));
if(!config->print) {
printf(_("loading packages...\n"));
retval |= load_packages(local_targets, alpm_option_get_local_file_siglevel(config->handle));
retval |= load_packages(fetched_files, alpm_option_get_remote_file_siglevel(config->handle));
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment