Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormorganamilo <morganamilo@gmail.com>2019-06-07 00:10:56 +0100
committerAllan McRae <allan@archlinux.org>2019-06-07 09:33:26 +1000
commit80321b21ae0f71d3fab758434506aa49f6134ba5 (patch)
tree676b4b7113c678893fa3c0eb13b9924fc97025d3
parent39c20ad4f1d5f6e915b5be8976b6a94885ca3b0c (diff)
pacman: fix error during -Fy
Signed-off-by: morganamilo <morganamilo@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org>
-rw-r--r--src/pacman/files.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pacman/files.c b/src/pacman/files.c
index 74d06815..8e518486 100644
--- a/src/pacman/files.c
+++ b/src/pacman/files.c
@@ -300,7 +300,7 @@ int pacman_files(alpm_list_t *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"));
return 1;
}