Add sudo for sd-copy

This commit is contained in:
Martin Blazik
2022-10-01 09:26:42 +02:00
parent b891d60988
commit 024c55482b

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 "$@"