diff options
author | Roy Marples <roy@marples.name> | 2008-03-24 13:09:42 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2008-03-24 13:09:42 +0000 |
commit | 5a80daaf4318fedf38af2e2a0df1f5a67e3670b0 (patch) | |
tree | b742d9d3dd96de5ea35904e37b72437acf8d872d /src/rc/rc.c | |
parent | 64332a367555b501a46031403cefeb3ea3a01414 (diff) |
Fix coldplug disabling.
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. |