|
@@ -523,7 +523,7 @@ static void startup_checks() {
|
|
|
else if (!can_stat(cfile))
|
|
else if (!can_stat(cfile))
|
|
|
werr(ERR_NOCONF);
|
|
werr(ERR_NOCONF);
|
|
|
*/
|
|
*/
|
|
|
- else if (fixmod(cfile))
|
|
|
|
|
|
|
+ else if (canstat(cfile) && fixmod(cfile))
|
|
|
werr(ERR_CONFMOD);
|
|
werr(ERR_CONFMOD);
|
|
|
|
|
|
|
|
if (!can_stat(tempdir)) {
|
|
if (!can_stat(tempdir)) {
|