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 <allan@archlinux.org>
This commit is contained in:
parent
776b7c1e75
commit
6daeb37fe8
1 changed files with 3 additions and 1 deletions
|
@ -99,7 +99,9 @@ int pacman_upgrade(alpm_list_t *targets)
|
||||||
goto fail_free;
|
goto fail_free;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(!config->print) {
|
||||||
printf(_("loading packages...\n"));
|
printf(_("loading packages...\n"));
|
||||||
|
}
|
||||||
retval |= load_packages(local_targets, alpm_option_get_local_file_siglevel(config->handle));
|
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));
|
retval |= load_packages(fetched_files, alpm_option_get_remote_file_siglevel(config->handle));
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue