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 a431658..df31745 100755
--- a/bin/ftpsync
+++ b/bin/ftpsync
@@ -209,7 +209,7 @@ TO=${TO:-"/org/ftp.debian.org/ftp/"}
PROGRAM=${PROGRAM:-"${NAME}-$(hostname -s)"}
# Where to send mails about mirroring to?
-if [ "x${HOSTNAME}x" = "x${HOSTNAME%%.debian.org}x" ]; then
+if [ "x${HOSTNAME}x" != "x${HOSTNAME%%.debian.org}x" ]; then
# We are not on a debian.org host
MAILTO=${MAILTO:-"root"}
else