pacman: fix error during -Fy
Signed-off-by: morganamilo <morganamilo@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
parent
39c20ad4f1
commit
80321b21ae
1 changed files with 1 additions and 1 deletions
|
@ -300,7 +300,7 @@ int pacman_files(alpm_list_t *targets)
|
||||||
return files_list(files_dbs, targets);
|
return files_list(files_dbs, targets);
|
||||||
}
|
}
|
||||||
|
|
||||||
if(targets == NULL) {
|
if(targets == NULL && !config->op_s_sync) {
|
||||||
pm_printf(ALPM_LOG_ERROR, _("no targets specified (use -h for help)\n"));
|
pm_printf(ALPM_LOG_ERROR, _("no targets specified (use -h for help)\n"));
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue