From: Alexander Barton Date: Tue, 18 Aug 2015 09:21:16 +0000 (+0200) Subject: backup-script-wrapper: Use FQDN for mail subject X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=backup-script.git;a=commitdiff_plain;h=e6ed39f7f7103e43e4560e036e42182a2857c86c backup-script-wrapper: Use FQDN for mail subject --- diff --git a/bin/backup-script-wrapper b/bin/backup-script-wrapper index 047ff96..482609f 100755 --- a/bin/backup-script-wrapper +++ b/bin/backup-script-wrapper @@ -21,7 +21,7 @@ if [ -z "$MAILTO" ]; then fi NAME="backup-script" -HOST=`hostname` +HOST=`hostname -f` TMP=`mktemp /tmp/$NAME.XXXXXXXX` || exit 1 LOGFILE="/var/log/backup-script.log" DELIMITER="- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -"