diff --git a/clone/clone b/clone/clone index 6ec69ce..2138217 100755 --- a/clone/clone +++ b/clone/clone @@ -137,12 +137,12 @@ step3(){ echo " - using gunzip"; - ( dd if=$IMAGE_FILE | pv -s $(du -bs $IMAGE_FILE | gunzip | awk '{print $1}') | sudo dd of=$DEV bs=4M ) \ + ( sudo dd if=$IMAGE_FILE of=$DEV bs=4M status=progress ) \ || echo "<<< error: dd command failed" || exit 1; else - ( dd if=$IMAGE_FILE | pv -s $(du -bs $IMAGE_FILE | awk '{print $1}') | sudo dd of=$DEV bs=4M ) \ + ( sudo dd if=$IMAGE_FILE of=$DEV bs=4M status=progress ) \ || echo "<<< error: dd command failed" || exit 1;