Commit a2238081 authored by Leigh B Stoller's avatar Leigh B Stoller

Minor fix to an earlier revision, that was causing log files to

get left in /tmp.
parent 7645ddc3
......@@ -578,11 +578,11 @@ sub SendAuditMail($)
$HDRS .= "CC: " . join(', ', @{ $AUDIT_INFO{'cc'} });
# Leave logfile if sendmail fails.
if ($brand->SendEmail($TO, $subject, $body, $FROM, $HDRS, @FILES)) {
if (defined($logfile) && !$savelog);
# This always succeeds, stop leaving file in /tmp
$brand->SendEmail($TO, $subject, $body, $FROM, $HDRS, @FILES);
if (defined($logfile) && !$savelog);
system("/usr/bin/touch $prefork")
if (defined($prefork));
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