openrc: fix double-assignment to dir

This one is a bit odd, it didn't get fixed in e273b4e08e,
and goes all the way back to cb9da6a262.
This commit is contained in:
Sam James 2023-01-25 04:12:11 +00:00 committed by Mike Frysinger
parent 19f329d2f4
commit fc4f15d6cd
1 changed files with 0 additions and 1 deletions

View File

@ -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);