index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | morganamilo <morganamilo@gmail.com> | 2019-10-12 20:12:03 +0100 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2019-10-13 12:37:34 +1000 |
commit | d4e667ee5eeb3139045d7333fcddf6ba449da7b2 (patch) | |
tree | 4d165551976df49f31b1f2ec44dd19ddd7a6b7a0 /src | |
parent | 808a4f15ce82d2ed7eeb06de73d0f313620558ee (diff) |
-rw-r--r-- | src/pacman/files.c | 4 |
diff --git a/src/pacman/files.c b/src/pacman/files.c index 8e518486..af11666d 100644 --- a/src/pacman/files.c +++ b/src/pacman/files.c @@ -176,11 +176,11 @@ static int files_search(alpm_list_t *syncs, alpm_list_t *targets, int regex) { notfound: if(!found) { - ret++; + ret = 1; } } - return 0; + return ret; } static void dump_file_list(alpm_pkg_t *pkg) { |