mirror of
https://github.com/webmin/webmin.git
synced 2026-06-20 11:20:30 +01:00
Include status message in email
This commit is contained in:
@@ -528,8 +528,13 @@ else {
|
||||
$host, $serv->{'desc'});
|
||||
}
|
||||
elsif ($type eq 'email') {
|
||||
return &text('monitor_email_'.$suffix,
|
||||
$host, $serv->{'desc'}, $now)."\n";
|
||||
my $rv = &text('monitor_email_'.$suffix,
|
||||
$host, $serv->{'desc'}, $now)."\n";
|
||||
if ($stat->{'desc'}) {
|
||||
$rv .= &text('monitor_email_stat',
|
||||
$stat->{'desc'})."\n";
|
||||
}
|
||||
return $rv;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user