Fix to reboot in case of verityctl failure 85/279385/2
authorSangYoun Kwak <sy.kwak@samsung.com>
Mon, 8 Aug 2022 08:31:21 +0000 (17:31 +0900)
committerSangYoun Kwak <sy.kwak@samsung.com>
Wed, 10 Aug 2022 01:10:45 +0000 (10:10 +0900)
Change-Id: Iefd786a86c52c67d721d5cd67eeab20f5ef62c9a
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
scripts/recovery-init.in

index 3d25893..75ad2e5 100644 (file)
@@ -141,7 +141,7 @@ mount_rootfs()
                 ;;
             2)
                 echo "verifyboot: enabled but corrupted"
-                # should deal with the error like reboot.
+               do_reboot
                 ;;
             3)
                 echo "verifyboot: disabling"