diff options
author | Joerg Jaspert <joerg@debian.org> | 2008-11-08 10:30:25 +0100 |
---|---|---|
committer | Joerg Jaspert <joerg@debian.org> | 2008-11-08 10:30:25 +0100 |
commit | 054d747167dfd1cc344fb0f597e5e46506846bff (patch) | |
tree | 64fac19c79a6cd98f6d73f51152c82d975bb1462 /bin/ftpsync | |
parent | 0c90332cc65aa95b64000ea628180617523d8e25 (diff) |
Use hostname -s for the mailto comparison
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Diffstat (limited to 'bin/ftpsync')
-rwxr-xr-x | bin/ftpsync | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ftpsync b/bin/ftpsync index b046437..88ce6b2 100755 --- a/bin/ftpsync +++ b/bin/ftpsync @@ -214,7 +214,7 @@ TO=${TO:-"/org/ftp.debian.org/ftp/"} PROGRAM=${PROGRAM:-"${NAME}-$(hostname -s)"} # Where to send mails about mirroring to? -if [ "x${MIRRORNAME}x" != "x${MIRRORNAME%%.debian.org}x" ]; then +if [ "x$(hostname -s)x" != "x${MIRRORNAME%%.debian.org}x" ]; then # We are not on a debian.org host MAILTO=${MAILTO:-"root"} else |