From d8c7316c1694601eba73f02e4ce8507873bd1bb8 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Fri, 2 Jul 2010 15:53:24 +0200 Subject: check exit code --- package/base-files/src/sbin/adkupdate | 2 ++ 1 file changed, 2 insertions(+) (limited to 'package') diff --git a/package/base-files/src/sbin/adkupdate b/package/base-files/src/sbin/adkupdate index dd8d3ecec..6078dbc46 100755 --- a/package/base-files/src/sbin/adkupdate +++ b/package/base-files/src/sbin/adkupdate @@ -30,8 +30,10 @@ prepare() { cd / if [ -x /sbin/cfgfs ];then umount -f /etc + check_exit fi mount -o remount,rw / + check_exit if [ "$system" == "RB532" ];then mount -t yaffs2 /dev/mtdblock0 /boot elif [ "$system" == "AR7130" ];then -- cgit v1.2.3