Permalink
Browse files

return 1 if nothing is printed by print_pkg

  • Loading branch information...
1 parent 2751896 commit 2cabb7f06594b7c63374d29e9bd7607f3bfc5c5e @falconindy committed Jul 17, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 expac.c
View
@@ -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) {

0 comments on commit 2cabb7f

Please sign in to comment.