fix #455707 traptoemail use FQDN
Gbp-Pq: Name 0027-fix-455707-traptoemail-use-FQDN.patch
This commit is contained in:
parent
e709391ab6
commit
39e66f80fb
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue