summaryrefslogtreecommitdiffstats
path: root/expac.c
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2011-07-17 09:23:58 -0400
committerDave Reisner <dreisner@archlinux.org>2011-07-17 09:24:37 -0400
commit2cabb7f06594b7c63374d29e9bd7607f3bfc5c5e (patch)
treed57b8dd635a8be4285195021e495cbed903c98f1 /expac.c
parent27518960a09ff8f5a183ae4b0a472ae498c364e4 (diff)
downloadexpac-2cabb7f06594b7c63374d29e9bd7607f3bfc5c5e.tar.xz
return 1 if nothing is printed by print_pkg
Diffstat (limited to 'expac.c')
-rw-r--r--expac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/expac.c b/expac.c
index d487261..85dcc19 100644
--- a/expac.c
+++ b/expac.c
@@ -485,7 +485,7 @@ static int print_pkg(pmpkg_t *pkg, const char *format) {
print_escaped(delim);
}
- return 0;
+ return !out;
}
static alpm_list_t *resolve_pkg(alpm_list_t *targets) {