summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorJoerg Jaspert <joerg@debian.org>2008-10-30 21:49:29 +0100
committerJoerg Jaspert <joerg@debian.org>2008-10-30 21:49:29 +0100
commitc511ba56bf1400c31956f534fbfbeb88702de28e (patch)
treeebba1aa0c3023ab64f8e09f3f9be5d4e430cbee9 /bin
parent07a08ceb7a0309e5d9632d60cdbcb14cd88dc5f7 (diff)
= is not the same as !=
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Diffstat (limited to 'bin')
-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