base-files: default_postinst: propagate the real postinst return code
authorJohn Crispin <john@openwrt.org>
Mon, 17 Aug 2015 06:17:23 +0000 (06:17 +0000)
committerJohn Crispin <john@openwrt.org>
Mon, 17 Aug 2015 06:17:23 +0000 (06:17 +0000)
commit46a08cb6050b324520eaaadba0a977649ad21443
tree31a32943da2249d4d4b743ed4ef5cc72d8edc45e
parent993fb00567a0a40419392cabee97fcabc71e3792
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>
SVN-Revision: 46653
package/base-files/files/lib/functions.sh