Commit 2eedcdfc authored by Leigh B. Stoller's avatar Leigh B. Stoller

Turn on LIBAUDIT_NODELETE so log file does not get zapped.

parent 22e420d4
......@@ -267,7 +267,8 @@ $template->OpenLogFile() == 0 or
fatal(-1, "Could not open the logfile");
if (my $childpid =
AuditStart(LIBAUDIT_DAEMON, $logname, LIBAUDIT_LOGONLY|LIBAUDIT_FANCY)) {
AuditStart(LIBAUDIT_DAEMON, $logname,
LIBAUDIT_LOGONLY|LIBAUDIT_FANCY|LIBAUDIT_NODELETE)) {
#
# Parent exits normally, unless in waitmode. We have to set
# justexit to make sure the END block below does not run.
......
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