mirror of
https://github.com/OpenRC/openrc.git
synced 2024-11-30 21:34:46 +08:00
Fix coldplug disabling.
This commit is contained in:
parent
64332a3675
commit
5a80daaf43
@ -549,7 +549,8 @@ static void do_coldplug(void)
|
||||
char *p;
|
||||
#endif
|
||||
|
||||
if (! rc_conf_yesno("rc_coldplug") && errno != ENOENT)
|
||||
errno = 0;
|
||||
if (!rc_conf_yesno("rc_coldplug") && errno != ENOENT)
|
||||
return;
|
||||
|
||||
/* We need to ensure our state dirs exist.
|
||||
|
Loading…
Reference in New Issue
Block a user