Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
615e5c37
Commit
615e5c37
authored
Mar 25, 2009
by
Leigh B. Stoller
Browse files
Use AddAuditInfo 'cc' field in non-fancy messages.
parent
15591d92
Changes
1
Hide whitespace changes
Inline
Side-by-side
tbsetup/libaudit.pm.in
View file @
615e5c37
...
...
@@ -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
))
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment