From dffa8b7634d192314609d1cf486571f498d50afe Mon Sep 17 00:00:00 2001 From: Joerg Jaspert Date: Sat, 4 Oct 2008 19:52:06 +0200 Subject: ftpsync bash really likes the syntax to be correct Signed-off-by: Joerg Jaspert --- bin/ftpsync | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') 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 -- cgit v1.2.3