summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dd-resume.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/dd-resume.in b/dd-resume.in
index 9aa7845..de66e8e 100644
--- a/dd-resume.in
+++ b/dd-resume.in
@@ -182,7 +182,7 @@ if [ -n "${host}" ]; then
screen -d -m bash -c '
set +o pipefail
nc -l -c | \
- dd of="'"${output_device}"'" '"${dd_options}"' seek='"${start}"' 2>>"'"${log_file}"'" >/dev/null
+ LC_ALL=C dd of="'"${output_device}"'" '"${dd_options}"' seek='"${start}"' 2>>"'"${log_file}"'" >/dev/null
printf '"'"'\nwrite-pipe-exit: %s\n'"'"' $? >>"'"${log_file}"'"
'