From 2cabb7f06594b7c63374d29e9bd7607f3bfc5c5e Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Sun, 17 Jul 2011 09:23:58 -0400 Subject: return 1 if nothing is printed by print_pkg --- expac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'expac.c') 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) { -- cgit v1.2.3-70-g09d2