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()
{
SendAuditMail(0);
delete @ENV{'TBAUDITLOG', 'TBAUDITON'};
unlink($logfile)
if (! ($logonly && $savelog));
if (defined($logfile)) {
unlink($logfile)
if (! ($logonly && $savelog));
}
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