Exit with 0/SUCCESS if there are no packages to remove
Previously the lack of candidate packages was considered an error and return 1/FAILURE but really this isn't an issue. Also, for systemd (and others) this flagged the instance as having failed for no good reason. Signed-off-by: Eric Schultz <eric@schultzter.ca> Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
parent
75c80caebc
commit
566dc23357
1 changed files with 1 additions and 1 deletions
|
@ -328,7 +328,7 @@ done
|
|||
|
||||
if (( ! ${#candidates[*]} )); then
|
||||
msg 'no candidate packages found for pruning'
|
||||
exit 1
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# grab this prior to signature scavenging
|
||||
|
|
Loading…
Add table
Reference in a new issue