summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xwgetpaste4
1 files changed, 2 insertions, 2 deletions
diff --git a/wgetpaste b/wgetpaste
index 2eda5c5..893f5e4 100755
--- a/wgetpaste
+++ b/wgetpaste
@@ -544,9 +544,9 @@ RECIPIENT="$(getrecipient RAW)"
# paste it
WGET_ARGS="--tries=5 --timeout=60 ${WGET_ARGS}"
if geturl needstdout || [[ ${DEBUG} || ! -w /dev/null ]]; then
- OUTPUT="$(wget -O - ${WGET_ARGS} ${RECIPIENT} 2>&1)"
+ OUTPUT="$(LC_MESSAGES=C wget -O - ${WGET_ARGS} ${RECIPIENT} 2>&1)"
else
- OUTPUT="$(wget -O /dev/null ${WGET_ARGS} ${RECIPIENT} 2>&1)"
+ OUTPUT="$(LC_MESSAGES=C wget -O /dev/null ${WGET_ARGS} ${RECIPIENT} 2>&1)"
fi
# clean temporary file if it was created