Fix coldplug disabling.

This commit is contained in:
Roy Marples 2008-03-24 13:09:42 +00:00
parent 64332a3675
commit 5a80daaf43

View File

@ -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.