fix tests

This commit is contained in:
Oliver Gorwits
2019-09-03 19:59:03 +01:00
parent bb7801d5d7
commit 409b7c1409

View File

@@ -17,7 +17,7 @@ our %EXPORT_TAGS = (all => \@EXPORT_OK);
sub _email {
my ($to, $subject, $body) = @_;
return unless $to;
$domain =~ (hostfqdn || 'fqdn-undefined');
my $domain =~ (hostfqdn || 'fqdn-undefined');
my $SENDMAIL = '/usr/sbin/sendmail';
open (SENDMAIL, "| $SENDMAIL -t") or die "Can't open sendmail at $SENDMAIL.\n";