summaryrefslogtreecommitdiff
path: root/bin/ftpsync
diff options
context:
space:
mode:
Diffstat (limited to 'bin/ftpsync')
-rwxr-xr-xbin/ftpsync2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ftpsync b/bin/ftpsync
index 1e06df7..be6e98a 100755
--- a/bin/ftpsync
+++ b/bin/ftpsync
@@ -152,7 +152,7 @@ cleanup() {
log "Mirrorsync done";
if [ -n "${MAILTO}" ]; then
# In case rsync had something on stderr
- if [ -s "${LOGDIR}/rsync-${NAME}.error"]; then
+ if [ -s "${LOGDIR}/rsync-${NAME}.error" ]; then
cat "${LOGDIR}/rsync-${NAME}.error" | mail -e -s "$PROGRAM rsync ERROR ($(hostname -s)) [$$]" ${MAILTO}
fi
if [ "x${ERRORSONLY}x" = "xfalsex" ]; then