From b6766c25442bf75a4cf8e65b53a252831c356022 Mon Sep 17 00:00:00 2001 From: Christian Ruppert Date: Tue, 28 Jun 2011 18:45:39 +0200 Subject: Use RC_CONF instead of the hardcoded /etc/rc.conf --- src/librc/librc-depend.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/librc/librc-depend.c') 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 -- cgit v1.2.3