diff options
author | morganamilo <morganamilo@gmail.com> | 2019-06-07 01:10:56 +0200 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2019-06-07 01:33:26 +0200 |
commit | 80321b21ae0f71d3fab758434506aa49f6134ba5 (patch) | |
tree | 676b4b7113c678893fa3c0eb13b9924fc97025d3 | |
parent | 39c20ad4f1d5f6e915b5be8976b6a94885ca3b0c (diff) | |
download | pacman-80321b21ae0f71d3fab758434506aa49f6134ba5.tar.gz pacman-80321b21ae0f71d3fab758434506aa49f6134ba5.tar.xz |
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.c | 2 |
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; } |