summaryrefslogtreecommitdiff
path: root/bin/ftpsync
diff options
context:
space:
mode:
authorJoerg Jaspert <joerg@debian.org>2008-09-27 16:11:19 +0200
committerJoerg Jaspert <joerg@debian.org>2008-09-27 16:11:19 +0200
commite42f0e6693b371a789b2aa1898d454c10c77fbf0 (patch)
tree0016446ca6585b91b1fe50ef7ad0ace6f31c43f3 /bin/ftpsync
parentf8b18dafeb8fc656483f0afadf7b67138d7e9c3b (diff)
hostname
dont hardcode the hostname in $PROGRAM Signed-off-by: Joerg Jaspert <joerg@debian.org>
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 9883d30..d9b0307 100755
--- a/bin/ftpsync
+++ b/bin/ftpsync
@@ -51,7 +51,7 @@ LOG=${LOG:-"${LOGDIR}/$0.log"}
TO="/org/ftp.debian.org/ftp/"
# used by log()
-PROGRAM=${PROGRAM:-"ftpsync-kassia"}
+PROGRAM=${PROGRAM:-"ftpsync-$(hostname -s)"}
# Where to send mails about mirroring to?
MAILTO=${MAILTO:-"joerg@debian.org"}