clonedisk.sh: fixed dd typo
This commit is contained in:
parent
d6f7aec884
commit
7b5e78e9a1
|
@ -133,7 +133,7 @@ if [[ ${OUT#/dev/nvme} != $OUT ]]; then
|
||||||
OUT="${OUT}p"
|
OUT="${OUT}p"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
dd if=${IN}2 of=${OUT}$2 status=progress
|
dd if=${IN}2 of=${OUT}2 status=progress
|
||||||
sfdisk --part-uuid ${OUT_DEV} 2 $(blkid -o value -s PARTUUID ${IN}2)
|
sfdisk --part-uuid ${OUT_DEV} 2 $(blkid -o value -s PARTUUID ${IN}2)
|
||||||
|
|
||||||
if ! [[ $UPDATE ]]; then
|
if ! [[ $UPDATE ]]; then
|
||||||
|
|
Loading…
Reference in a new issue