From: Geert Hendrickx Date: Fri, 9 Oct 2020 19:07:40 +0000 (+0200) Subject: util: dovecot-sysreport: Use "uname -n" instead of "hostname" for portability X-Git-Tag: 2.3.14.rc1~139 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f8ac63a3f2c718b20097402888dd0b7da4be508d;p=thirdparty%2Fdovecot%2Fcore.git util: dovecot-sysreport: Use "uname -n" instead of "hostname" for portability hostname is not defined by POSIX, so not guaranteed to work. --- diff --git a/src/util/dovecot-sysreport b/src/util/dovecot-sysreport index 5384fe926c..02068d0b4a 100755 --- a/src/util/dovecot-sysreport +++ b/src/util/dovecot-sysreport @@ -2,7 +2,7 @@ set -eu -dest="dovecot-sysreport-$(hostname)-$(date +'%s').tar.gz" +dest="dovecot-sysreport-$(uname -n)-$(date +'%s').tar.gz" conf_flag="" binary="" core=""