Commit 615e5c37 authored by Leigh Stoller's avatar Leigh Stoller

Use AddAuditInfo 'cc' field in non-fancy messages.

parent 15591d92
......@@ -388,6 +388,10 @@ sub SendAuditMail($)
else {
$TO = $TBOPS;
}
if (defined($AUDIT_INFO{'cc'})) {
$HDRS .= "\n";
$HDRS .= "CC: " . join(', ', @{ $AUDIT_INFO{'cc'} });
}
# Leave logfile if sendmail fails.
if (SENDMAIL($TO, $subject, $body, $FROM, $HDRS, @FILES)) {
......
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