Commit 62658e8f authored by Leigh Stoller's avatar Leigh Stoller

Remove SENDMAIL() call in event.pm (and tail file). Decreases reliance

on configured variables and libraries.
parent fa9349d8
......@@ -725,7 +725,7 @@ use libtestbed;
#
#
# Warn and send email after a failed event send. First argument is the error
# Warn after a failed event send. First argument is the error
# message to display. The contents of $EventErrorString is also printed.
#
# usage: EventWarn(char *message)
......@@ -747,8 +747,6 @@ sub EventWarn($) {
"$EventErrorString\n";
print STDERR "*** $text";
libtestbed::SENDMAIL($TBOPS, "EventError - $message", $text);
}
#
......
......@@ -78,7 +78,7 @@ use libtestbed;
#
#
# Warn and send email after a failed event send. First argument is the error
# Warn after a failed event send. First argument is the error
# message to display. The contents of $EventErrorString is also printed.
#
# usage: EventWarn(char *message)
......@@ -100,8 +100,6 @@ sub EventWarn($) {
"$EventErrorString\n";
print STDERR "*** $text";
libtestbed::SENDMAIL($TBOPS, "EventError - $message", $text);
}
#
......
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