summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/ftpsync2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ftpsync b/bin/ftpsync
index fc8e6f3..ec06c7c 100755
--- a/bin/ftpsync
+++ b/bin/ftpsync
@@ -437,7 +437,7 @@ while [ -e "${UPDATEREQUIRED}" ]; do
done
if [ -d "`dirname "${TO}/${TRACE}"`" ]; then
- date -u > "${TO}/${TRACE}"
+ LC_ALL=POSIX LANG=POSIX date -u > "${TO}/${TRACE}"
echo "Used ftpsync version: ${VERSION}" >> "${TO}/${TRACE}"
echo "Running on host: $(hostname -f)" >> "${TO}/${TRACE}"
fi