Commit ca73d9db authored by Leigh B. Stoller's avatar Leigh B. Stoller

Bug fix for problem that was masked by incompatability with Kevin's

tblog code.
parent eba8aa61
...@@ -206,8 +206,10 @@ sub AuditEnd() ...@@ -206,8 +206,10 @@ sub AuditEnd()
{ {
SendAuditMail(0); SendAuditMail(0);
delete @ENV{'TBAUDITLOG', 'TBAUDITON'}; delete @ENV{'TBAUDITLOG', 'TBAUDITON'};
unlink($logfile) if (defined($logfile)) {
if (! ($logonly && $savelog)); unlink($logfile)
if (! ($logonly && $savelog));
}
return 0; return 0;
} }
......
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