diff options
author | Joerg Jaspert <joerg@debian.org> | 2008-10-04 19:52:06 +0200 |
---|---|---|
committer | Joerg Jaspert <joerg@debian.org> | 2008-10-04 19:52:06 +0200 |
commit | dffa8b7634d192314609d1cf486571f498d50afe (patch) | |
tree | 4a86ce4b1ec98e9dfa91c70f11228f0c351811a2 /bin | |
parent | ef00d0b0e03f35a96b505013d1d49bd5f9520f07 (diff) |
ftpsync
bash really likes the syntax to be correct
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/ftpsync | 2 |
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 |