Enabled real writing in xorriso-dd-target

master
Thomas Schmitt 3 years ago
parent 6de23e96de
commit 02e55a9dbc
  1. 6
      xorriso-dd-target/xorriso-dd-target

@ -588,11 +588,11 @@ write_image() {
fi
if test -n "$dummy_run"
then
echo " $sudo_cmd $dd_cmd if='${1}' bs=1M of=/dev/${2} ; sync"
echo " $sudo_cmd $dd_cmd if='${1}' bs=1M of=/dev/'${2}' ; sync"
else
echo "Performing:"
echo " $sudo_cmd $dd_cmd if='${1}' bs=1M of=/dev/${2} ; sync"
# $sudo_cmd $dd_cmd if='${1}' bs=1M of=/dev/${2} ; sync
echo " $sudo_cmd $dd_cmd if='${1}' bs=1M of=/dev/'${2}' ; sync"
$sudo_cmd $dd_cmd if="${1}" bs=1M of=/dev/"${2}" ; sync
fi
# >>> ??? Erase possible GPT backup table at end of device ?

Loading…
Cancel
Save