diff --git a/xorriso-dd-target/xorriso-dd-target b/xorriso-dd-target/xorriso-dd-target index e171682a..11d60e77 100755 --- a/xorriso-dd-target/xorriso-dd-target +++ b/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 ?