aboutsummaryrefslogtreecommitdiff
path: root/src/librc
diff options
context:
space:
mode:
authorChristian Ruppert <idl0r@gentoo.org>2011-06-28 18:45:39 +0200
committerChristian Ruppert <idl0r@gentoo.org>2011-06-28 18:45:39 +0200
commitb6766c25442bf75a4cf8e65b53a252831c356022 (patch)
tree524c7a97e41a87ee0368c371339326335e5f0dd5 /src/librc
parentc427d3c1fec89f6a9281dccdc123bad73af80804 (diff)
Use RC_CONF instead of the hardcoded /etc/rc.conf
Diffstat (limited to 'src/librc')
-rw-r--r--src/librc/librc-depend.c2
1 files changed, 1 insertions, 1 deletions
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