mirror of
https://github.com/Motion-Project/motion.git
synced 2026-05-17 19:14:38 -04:00
Revise close on exec
This commit is contained in:
@@ -96,7 +96,7 @@ static void log_set_logfile(const char *logfile_name)
|
||||
/* Setup temporary to let log if myfopen fails */
|
||||
log_set_mode(LOGMODE_SYSLOG);
|
||||
|
||||
logfile = myfopen(logfile_name, "a");
|
||||
logfile = myfopen(logfile_name, "ae");
|
||||
|
||||
/* If logfile was opened correctly */
|
||||
if (logfile) {
|
||||
|
||||
Reference in New Issue
Block a user