summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/ftpsync2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ftpsync b/bin/ftpsync
index 2cdd98d..ae22406 100755
--- a/bin/ftpsync
+++ b/bin/ftpsync
@@ -598,7 +598,7 @@ if [ -r "${TO}/project/ftpsync/LATEST.VERSION" ]; then
LATEST=0
fi
if [ ${LATEST} -gt ${VERSION} ]; then
- if [ -z "${MAILTO}" ]; then
+ if [ -n "${MAILTO}" ]; then
difference=0
if [ -f "${LOGDIR}/ftpsync.newversion" ]; then
stamptime=$(< "${LOGDIR}/ftpsync.newversion")