shared/install: propagate all errors in install_info_apply()
authorMike Yuan <me@yhndnzj.com>
Wed, 19 Jun 2024 16:59:15 +0000 (18:59 +0200)
committerMike Yuan <me@yhndnzj.com>
Wed, 19 Jun 2024 19:28:40 +0000 (21:28 +0200)
commita159aa07e1548367d2fde80cb0d45b869c591864
tree25ec94bdcc88d8cfb48807f6c774b6f21c01eb78
parentdd6b325a05c4caccd1a17dd4147f48a916eee386
shared/install: propagate all errors in install_info_apply()

Currently, install_info_apply() only updates r if it's 0,
meaning that if one of the earlier install_info_symlink_alias/wants()
calls returns > 0, errors generated by later calls will be discarded.
Fix that.
src/shared/install.c