base-files: default_postinst: propagate the real postinst return code
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 17 Aug 2015 06:17:23 +0000 (06:17 +0000)
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 17 Aug 2015 06:17:23 +0000 (06:17 +0000)
commit4ab54e30a75e57a56d66bfc78e0d48eb9fb40c48
tree31a32943da2249d4d4b743ed4ef5cc72d8edc45e
parent091c3ade71d6bf9bdb400f762de829100972abd7
base-files: default_postinst: propagate the real postinst return code

Using the postinst script for sanity checks and expecting opkg to fail
if the postinst didn't return 0 was possible in Barrier Breaker, propagate
the real postinst return code through default_postinst to restore this
behaviour.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46653 3c298f89-4303-0410-b956-a3cf2f4a3e73
package/base-files/files/lib/functions.sh