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)
commite83643d31c2364166f411e7a1bb8c183489705c0
tree9989e29ec17c1174ebbeaedbc86e33f1ab3b37ac
parente5488123e6336848c7c9dbbcbdfe3b339e048af6
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