Commit 4e97124c authored by Leigh Stoller's avatar Leigh Stoller

Minor change to previous revision

parent 6130b742
......@@ -1681,6 +1681,7 @@ sub KillMonitor($)
{
my ($slice) = @_;
my $pid = $slice->monitor_pid();
require libtestbed;
return 0
if (!$pid);
......@@ -1735,7 +1736,7 @@ sub KillMonitor($)
}
if ($slice->GetMonitorPid()) {
print STDERR "Monitor process $pid would not die!\n";
SENDMAIL($TBOPS, "Monitor for slice would not die!",
libtestbed::SENDMAIL($TBOPS, "Monitor for slice would not die!",
"Monitor would not die: $slice\n\n" .
"$TBBASE/showslice.php?slice_idx=" . $slice->idx() .
"&showtype=cm",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment