From 7b5e78e9a1d013bec18ab8fb2f5f45b6cf8e0347 Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Thu, 13 Sep 2018 10:58:48 +0200 Subject: [PATCH] clonedisk.sh: fixed dd typo --- clonedisk.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clonedisk.sh b/clonedisk.sh index 5bb5643..d599355 100755 --- a/clonedisk.sh +++ b/clonedisk.sh @@ -133,7 +133,7 @@ if [[ ${OUT#/dev/nvme} != $OUT ]]; then OUT="${OUT}p" 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) if ! [[ $UPDATE ]]; then