Add sudo for sd-copy

This commit is contained in:
Martin Blazik
2022-10-16 19:04:05 +02:00
parent b891d60988
commit 024c55482b
+1 -1
View File
@@ -15,4 +15,4 @@ DST="$1"
shift
echo "dd if=$SRC of=$DST bs=32MiB status=progress conv=fsync $*"
dd if="$SRC" of="$DST" bs=32MiB status=progress conv=fsync "$@"
sudo dd if="$SRC" of="$DST" bs=32MiB status=progress conv=fsync "$@"