summaryrefslogtreecommitdiffstats
path: root/rules.mk
diff options
context:
space:
mode:
authorTony Ambardar <itugrok@yahoo.com>2018-03-02 20:04:36 -0800
committerJo-Philipp Wich <jo@mein.io>2018-11-29 11:54:20 +0100
commitd40de11d1b2efb446139f206840327e4178f2de4 (patch)
tree5483a1a759ca994056f6b4dc5d7c8722c9ab5d12 /rules.mk
parentcc8e8750397b721438e312d492433014d46b3a0c (diff)
downloadopenwrt-d40de11d1b2efb446139f206840327e4178f2de4.tar.gz
openwrt-d40de11d1b2efb446139f206840327e4178f2de4.tar.bz2
openwrt-d40de11d1b2efb446139f206840327e4178f2de4.zip
base-files: fix prerm return value, align with postinst code
The return value of a package prerm script is discarded and not returned correctly by default_prerm(). This allows other operations like service shutdown to "leak" their return value, prompting workarounds like commit 48cfc826 which do not address the root cause. Preserve a package prerm script return value for use by default_prerm(), sharing the corresponding code from default_postinst() for consistency. Also use consistent code for handling of /etc/init.d/ scripts. Run Tested on: LEDE 17.01.4 running ar71xx. Signed-off-by: Tony Ambardar <itugrok@yahoo.com> (cherry picked from commit 8806da86f5da3b1b1e4d24259d168e2219c01a26)
Diffstat (limited to 'rules.mk')
0 files changed, 0 insertions, 0 deletions