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:
qwx 2018-03-17 01:00:51 +02:00
parent f8961199dd
commit 14cd988a48

View file

@ -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);