From 4d9b5d4a2a4cf96de8d6b4afa34a4d3424bf96b4 Mon Sep 17 00:00:00 2001 From: Chantry Xavier Date: Mon, 2 Jul 2007 11:29:05 +0200 Subject: pacman/query.c : return after a query on all packages. Previously, the following error was displayed even after a valid and successful query operation on all packages, like -Q , -Ql, -Qi, -Qil : no targets specified (use -h for help) Signed-off-by: Chantry Xavier --- src/pacman/query.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/pacman/query.c b/src/pacman/query.c index 98dfc074..cfd53df7 100644 --- a/src/pacman/query.c +++ b/src/pacman/query.c @@ -400,6 +400,7 @@ int pacman_query(alpm_list_t *targets) printf("%s %s\n", pkgname, pkgver); } } + return(0); } /* Second: operations that require target(s) */ -- cgit v1.2.3-70-g09d2