index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | morganamilo <morganamilo@gmail.com> | 2019-06-07 00:10:56 +0100 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2019-06-07 09:33:26 +1000 |
commit | 80321b21ae0f71d3fab758434506aa49f6134ba5 (patch) | |
tree | 676b4b7113c678893fa3c0eb13b9924fc97025d3 | |
parent | 39c20ad4f1d5f6e915b5be8976b6a94885ca3b0c (diff) |
-rw-r--r-- | src/pacman/files.c | 2 |
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; } |