From fc4f15d6cd8e7884f7094e5d3749b01f2d5a448f Mon Sep 17 00:00:00 2001 From: Sam James Date: Wed, 25 Jan 2023 04:12:11 +0000 Subject: openrc: fix double-assignment to dir This one is a bit odd, it didn't get fixed in e273b4e08ee0ebc1a001d60e2a5b65a9553a8a8a, and goes all the way back to cb9da6a262b60255cd037f20b4cde3ab2c8a1e6a. --- src/openrc/rc.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/openrc') 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 @@ -505,7 +505,6 @@ runlevel_config(const char *service, const char *level) char *conf, *dir; bool retval; - dir = dirname(init); dir = dirname(init); xasprintf(&conf, "%s/conf.d/%s.%s", dir, service, level); retval = exists(conf); -- cgit v1.2.3