Skip to content

Commit 093ffd3

Browse files
authored
fix typo
1 parent c3a9562 commit 093ffd3

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

common/droidboot_main.c

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,8 @@ void droidboot_show_dualboot_menu()
4545

4646
// If there is no SD card and fallback is unsupported fail unconditionally, else just error and continue to fallback
4747
if(droidboot_get_sd_fail()){
48-
if(droidboot_have_fallback())
49-
droidboot_log(DROIDBOOT_LOG_ERROR, "droidboot main: failed to get sd card\n");
50-
else
51-
droidboot_log(DROIDBOOT_LOG_ERROR, "droidboot main: failed to get sd card\n");
52-
while(1);
48+
droidboot_log(DROIDBOOT_LOG_ERROR, "droidboot main: failed to get sd card\n");
49+
if(!droidboot_have_fallback()) while(1);
5350
return;
5451
}
5552

0 commit comments

Comments
 (0)