瀏覽代碼

check exit code

Waldemar Brodkorb 14 年之前
父節點
當前提交
d8c7316c16
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      package/base-files/src/sbin/adkupdate

+ 2 - 0
package/base-files/src/sbin/adkupdate

@@ -30,8 +30,10 @@ prepare() {
 	cd /
 	cd /
 	if [ -x /sbin/cfgfs ];then
 	if [ -x /sbin/cfgfs ];then
 		umount -f /etc
 		umount -f /etc
+		check_exit
 	fi
 	fi
 	mount -o remount,rw /
 	mount -o remount,rw /
+	check_exit
 	if [ "$system" == "RB532" ];then
 	if [ "$system" == "RB532" ];then
 		mount -t yaffs2 /dev/mtdblock0 /boot
 		mount -t yaffs2 /dev/mtdblock0 /boot
 	elif [ "$system" == "AR7130" ];then
 	elif [ "$system" == "AR7130" ];then