Commit 8db30b88 authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Minor changes to AuditEnd(); make sure auditing flags are not passed

in the environment to decendants once the the audit is done.
parent 76551b01
......@@ -152,6 +152,7 @@ sub AuditStart($;$)
sub AuditEnd()
{
SendAuditMail(0);
delete @ENV{'TBAUDITLOG', 'TBAUDITON'};
return 0;
}
......@@ -171,6 +172,7 @@ sub AuditAbort()
unlink($logfile);
undef($logfile);
}
delete @ENV{'TBAUDITLOG', 'TBAUDITON'};
}
return 0;
}
......@@ -182,6 +184,7 @@ sub AuditAbort()
sub AuditFork()
{
$auditing = 0;
delete @ENV{'TBAUDITLOG', 'TBAUDITON'};
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