devfs: only set configed flag if config was read successfully
this is just to retry reading the configuration at least once after an error
This commit is contained in:
parent
f8961199dd
commit
14cd988a48
1 changed files with 1 additions and 1 deletions
|
@ -740,7 +740,6 @@ rdconf(void)
|
|||
/* only read config file once */
|
||||
if (configed)
|
||||
return;
|
||||
configed = 1;
|
||||
|
||||
dprint("rdconf\n");
|
||||
/* add the std "fs" tree */
|
||||
|
@ -792,6 +791,7 @@ rdconf(void)
|
|||
e++;
|
||||
mconfig(p, e - p);
|
||||
}
|
||||
configed = 1;
|
||||
poperror();
|
||||
free(c);
|
||||
|
||||
|
|
Loading…
Reference in a new issue