[Pkg-net-snmp-commits] [pkg-net-snmp] 27/27: fix #455707 traptoemail use FQDN
Hideki Yamane
henrich at moszumanska.debian.org
Sun Aug 28 02:19:50 UTC 2016
This is an automated email from the git hooks/post-receive script.
henrich pushed a commit to branch patch-queue/master
in repository pkg-net-snmp.
commit 352948c38fdc4ea26c809a62365a79a2d437de06
Author: Hideki Yamane <henrich at debian.org>
Date: Fri Jan 29 20:54:57 2016 +0900
fix #455707 traptoemail use FQDN
---
local/traptoemail | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/local/traptoemail b/local/traptoemail
index cadc18b..3694c3a 100755
--- a/local/traptoemail
+++ b/local/traptoemail
@@ -17,7 +17,7 @@ use POSIX qw(strftime);
$ENV{LANG} = 'C';
$opts{'s'} = "localhost";
-$opts{'f'} = 'root@' . `hostname`;
+$opts{'f'} = 'root@' . `hostname -f`;
chomp($opts{'f'});
getopts("hs:f:", \%opts);
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-net-snmp/pkg-net-snmp.git
More information about the Pkg-net-snmp-commits
mailing list