summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChantry Xavier <shiningxc@gmail.com>2007-07-02 11:29:05 +0200
committerDan McGee <dan@archlinux.org>2007-07-02 15:22:52 +0200
commit4d9b5d4a2a4cf96de8d6b4afa34a4d3424bf96b4 (patch)
tree26d812e9d7ee01a275c1e67dfaf6487097423ec8 /src
parent4d286e567b18a44715cb5dee37e7179a79cdef87 (diff)
downloadpacman-4d9b5d4a2a4cf96de8d6b4afa34a4d3424bf96b4.tar.gz
pacman-4d9b5d4a2a4cf96de8d6b4afa34a4d3424bf96b4.tar.xz
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 <shiningxc@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/pacman/query.c1
1 files changed, 1 insertions, 0 deletions
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) */