diff options
author | Tony Ambardar <itugrok@yahoo.com> | 2018-03-02 20:04:36 -0800 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2018-11-29 11:52:56 +0100 |
commit | 8806da86f5da3b1b1e4d24259d168e2219c01a26 (patch) | |
tree | dba723153edc00e2725d28144b67c8a89524c705 /target/linux/ath79/dts/ar7241.dtsi | |
parent | 5c9ad4fa6e57de5618952c89a2eb65436d7d0f85 (diff) | |
download | upstream-8806da86f5da3b1b1e4d24259d168e2219c01a26.tar.gz upstream-8806da86f5da3b1b1e4d24259d168e2219c01a26.tar.bz2 upstream-8806da86f5da3b1b1e4d24259d168e2219c01a26.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>
Diffstat (limited to 'target/linux/ath79/dts/ar7241.dtsi')
0 files changed, 0 insertions, 0 deletions