Don't compute log_dir_create_mode in three different places.

Signed-off-by: Edward Tomasz Napierala <trasz@FreeBSD.org>
This commit is contained in:
Edward Tomasz Napierala 2017-07-28 03:56:02 +01:00
commit e08e2bd87a
4 changed files with 5 additions and 20 deletions

View file

@ -35,6 +35,8 @@ struct _LOG_REC {
};
extern GSList *logs;
extern int log_file_create_mode;
extern int log_dir_create_mode;
/* Create log record - you still need to call log_update() to actually add it
into log list */