Disable debugging mode for upgrade failure 65/159365/1 accepted/tizen/4.0/unified/20171110.071342 submit/tizen_4.0/20171109.022626
authorSunmin Lee <sunm.lee@samsung.com>
Wed, 8 Nov 2017 08:59:41 +0000 (17:59 +0900)
committerSunmin Lee <sunm.lee@samsung.com>
Wed, 8 Nov 2017 10:31:01 +0000 (19:31 +0900)
The debugging mode for upgrade failure is not necessary anymore.

Change-Id: I242026e03f1f93bc9e9568fe0cf5217d91e74047
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
scripts/fota-init.sh

index d3be755..a8632ab 100755 (executable)
@@ -301,11 +301,6 @@ umount_partitions
 if [ "$fota_result" = "0" ]; then
        exec /sbin/fus_rw-init
 else
-       #do_reboot
-       # For debugging - It should be deleted on Release
        echo "Upgrade FAILED"
-       while [ 1 ]
-       do
-               sleep 10
-       done
+       do_reboot
 fi