diff options
author | Dan McGee <dan@archlinux.org> | 2007-03-06 22:06:28 +0000 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2007-03-06 22:06:28 +0000 |
commit | 48181e9a84c84b698b7fdce859889d6c24849da3 (patch) | |
tree | 848297c07384707d4382376cfd187cde08965105 /src/pacman | |
parent | e6d6ee2c5a3f25004dc1b9688d07838e3c4b3138 (diff) |
* -Qs was returning an error if no package found, which is not the same behavior as -Ss.
Diffstat (limited to 'src/pacman')
-rw-r--r-- | src/pacman/query.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pacman/query.c b/src/pacman/query.c index 2964a7cb..b4888d05 100644 --- a/src/pacman/query.c +++ b/src/pacman/query.c @@ -92,7 +92,7 @@ int pacman_query(alpm_list_t *targets) if(config->op_q_search) { alpm_list_t *ret = alpm_db_search(db_local, targets); if(ret == NULL) { - return(1); + return(0); } for(i = ret; i; i = alpm_list_next(i)) { char *group = NULL; |