diff options
author | Eli Schwartz <eschwartz@archlinux.org> | 2018-01-14 05:52:38 +0100 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2018-01-19 03:05:18 +0100 |
commit | 19dabcc19a476735c4273e7ba4a0a7437d83078f (patch) | |
tree | 16b07cdbf2319b0415890e85734e8bcbf3313ad3 /lib/libalpm/group.c | |
parent | b2e088e42cfb5be2ed7247040a50acf92916d1c2 (diff) | |
download | pacman-19dabcc19a476735c4273e7ba4a0a7437d83078f.tar.gz pacman-19dabcc19a476735c4273e7ba4a0a7437d83078f.tar.xz |
Fix usage of install_package
In commit ab2be5794de8a57426ec3fc0f631cc766a0b8227 return codes were
implemented, and the output of install_package was improperly assigned
to a variable when the return code was wanted.
All we need to do is restore the previous exit handling, but return $?
instead of hardcoding "0".
Reported-by: xftroxgpx <xftroxgpx@protonmail.com>
Signed-off-by: Eli Schwartz <eschwartz@archlinux.org>
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib/libalpm/group.c')
0 files changed, 0 insertions, 0 deletions