conf-parser: warn when we open configuration files with weird access bits
This commit is contained in:
@@ -332,6 +332,8 @@ int config_parse(const char *unit,
|
||||
}
|
||||
}
|
||||
|
||||
fd_warn_permissions(filename, fileno(f));
|
||||
|
||||
while (!feof(f)) {
|
||||
char l[LINE_MAX], *p, *c = NULL, *e;
|
||||
bool escaped = false;
|
||||
|
||||
Reference in New Issue
Block a user