Skip to content

Commit

Permalink
DroidBootFlow: Drop --retry from dmsetup
Browse files Browse the repository at this point in the history
Not a thing in most impls
  • Loading branch information
luka177 committed Jan 19, 2025
1 parent b72b42b commit 1fd4163
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/src/main/java/org/andbootmgr/app/DroidBootFlow.kt
Original file line number Diff line number Diff line change
Expand Up @@ -276,9 +276,11 @@ private fun Flash(d: DroidBootFlowDataHolder) {
terminal.add(vm.activity.getString(R.string.term_failed_prepare_map))
return@WizardTerminalWork
}

if (!SDLessUtils.unmap(vm.logic, vm.logic.dmName, false, terminal)) {
terminal.add(vm.activity.getString(R.string.term_failed_unmap))
return@WizardTerminalWork

}
if (!vm.logic.mapBootset(terminal)) {
terminal.add(vm.activity.getString(R.string.term_failed_map))
Expand Down

0 comments on commit 1fd4163

Please sign in to comment.