Update img-verifier usage 82/244782/3
authorKichan Kwon <k_c.kwon@samsung.com>
Thu, 24 Sep 2020 07:02:42 +0000 (16:02 +0900)
committerKichan Kwon <k_c.kwon@samsung.com>
Fri, 25 Sep 2020 06:26:15 +0000 (15:26 +0900)
Change-Id: Ib3abfa3e3ddf08b203a458e7a7e7cc9d8731b4b8
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
src/system-recovery.c

index fa4d2695ca7b4fbc7f87a9e52267a710cfd14d4a..c610bce99682c7ebcc743c0d5870f8540ecd428b 100644 (file)
@@ -162,7 +162,7 @@ static int try_launch(const char *argv, ...)
 
 static int verify_recovery_image(void)
 {
-       return try_launch(IMAGE_VERIFIER_PATH, recovery_image_path, NULL);
+       return try_launch(IMAGE_VERIFIER_PATH, "-i", recovery_image_path, NULL);
 }
 
 static int mount_recovery_image(void)