openrc: fix double-assignment to dir
This one is a bit odd, it didn't get fixed ine273b4e08e
, and goes all the way back tocb9da6a262
.
This commit is contained in:
parent
19f329d2f4
commit
fc4f15d6cd
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user