diff options
Diffstat (limited to 'src/rc/rc.c')
-rw-r--r-- | src/rc/rc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rc/rc.c b/src/rc/rc.c index 6c0a3fed..ff8995b2 100644 --- a/src/rc/rc.c +++ b/src/rc/rc.c @@ -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. |