diff --git a/clone/clone b/clone/clone index f45a531..f6e0617 100755 --- a/clone/clone +++ b/clone/clone @@ -85,7 +85,7 @@ step3(){ test $confirm_burn != "y" && echo "<<< aborting" && exit; # (2) Burning image into disk # - ( dd if=./original.img bs=4M | pv -s $(du -bs ./original.img) | sudo dd of=$DEV bs=4M ) \ + ( dd if=./original.img bs=4M | pv -s $(du -bs ./original.img | awk '{print $1}') | sudo dd of=$DEV bs=4M ) \ || $( echo "<<< error: dd command failed" && exit ); echo "<<< done";