aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/openrc/rc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/openrc/rc.c b/src/openrc/rc.c
index 3f023492..941a3d2c 100644
--- a/src/openrc/rc.c
+++ b/src/openrc/rc.c
@@ -506,7 +506,6 @@ runlevel_config(const char *service, const char *level)
bool retval;
dir = dirname(init);
- dir = dirname(init);
xasprintf(&conf, "%s/conf.d/%s.%s", dir, service, level);
retval = exists(conf);
free(conf);