Browse Source

check exit code

Waldemar Brodkorb 14 years ago
parent
commit
d8c7316c16
1 changed files with 2 additions and 0 deletions
  1. 2 0
      package/base-files/src/sbin/adkupdate

+ 2 - 0
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