Enabled real writing in xorriso-dd-target

This commit is contained in:
Thomas Schmitt 2019-12-03 10:58:11 +01:00
parent 6de23e96de
commit 02e55a9dbc

View File

@ -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 ?