summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/ftpsync2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ftpsync b/bin/ftpsync
index 1572feb..b625810 100755
--- a/bin/ftpsync
+++ b/bin/ftpsync
@@ -229,7 +229,7 @@ TO=${TO:-"/org/ftp.debian.org/ftp/"}
PROGRAM=${PROGRAM:-"${NAME}-$(hostname -s)"}
# Where to send mails about mirroring to?
-if [ "x$(hostname -s)x" != "x${MIRRORNAME%%.debian.org}x" ]; then
+if [ "x$(hostname -d)x" != "xdebian.orgx" ]; then
# We are not on a debian.org host
MAILTO=${MAILTO:-"root"}
else