ref: 14cd988a482d5a515880eab282cc9dff5bba98fc
parent: f8961199dd992325bf3035f03e27b3280918a6a5
author: qwx <devnull@localhost>
date: Fri Mar 16 21:00:51 EDT 2018
devfs: only set configed flag if config was read successfully this is just to retry reading the configuration at least once after an error
--- a/sys/src/9/port/devfs.c
+++ b/sys/src/9/port/devfs.c
@@ -740,7 +740,6 @@
/* only read config file once */
if (configed)
return;
- configed = 1;
dprint("rdconf\n");
/* add the std "fs" tree */
@@ -792,6 +791,7 @@
e++;
mconfig(p, e - p);
}
+ configed = 1;
poperror();
free(c);