projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
35723db
)
Make the log directory only if we're not in debugging mode
author
aland
<aland>
Thu, 27 Dec 2007 05:46:20 +0000
(
05:46
+0000)
committer
aland
<aland>
Thu, 27 Dec 2007 05:46:20 +0000
(
05:46
+0000)
src/main/mainconfig.c
patch
|
blob
|
history
diff --git
a/src/main/mainconfig.c
b/src/main/mainconfig.c
index
3f6170b
..
50e0372
100644
(file)
--- a/
src/main/mainconfig.c
+++ b/
src/main/mainconfig.c
@@
-753,7
+753,7
@@
int read_mainconfig(int reload)
* The first time around, ensure that we can write to the
* log directory.
*/
- if (!reload) {
+ if (!reload
&& !debug_flag
) {
/*
* We need root to do mkdir() and chown(), so we
* do this before giving up root.