diff --git a/src/librc/librc-depend.c b/src/librc/librc-depend.c index 5d6167e7..102790d2 100644 --- a/src/librc/librc-depend.c +++ b/src/librc/librc-depend.c @@ -707,7 +707,7 @@ rc_deptree_update_needed(time_t *newest, char *file) if (!rc_newer_than(RC_DEPTREE_CACHE, RC_LOCAL_CONFDIR, newest, file)) newer = true; #endif - if (!rc_newer_than(RC_DEPTREE_CACHE, "/etc/rc.conf", newest, file)) + if (!rc_newer_than(RC_DEPTREE_CACHE, RC_CONF, newest, file)) newer = true; /* Some init scripts dependencies change depending on config files