We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 75804ae commit d4878c7Copy full SHA for d4878c7
app/src/main/java/org/andbootmgr/app/CreatePartFlow.kt
@@ -871,7 +871,7 @@ private fun Flash(c: CreatePartDataHolder) {
871
space -= bytes
872
if (space < 0)
873
throw IllegalStateException("remaining space $space shouldn't be smaller than 0")
874
- if (!Shell.cmd("dd if=/dev/zero bs=1024 count=${bytes/1024} " + img.absolutePath).to(terminal).exec().isSuccess) {
+ if (!Shell.cmd("dd if=/dev/zero bs=1024 count=${bytes/1024} of=" + img.absolutePath).to(terminal).exec().isSuccess) {
875
terminal.add(vm.activity.getString(R.string.term_failed_fallocate))
876
return@WizardTerminalWork
877
}
0 commit comments