tmpfiles: kill double slashes in unix socket names, just in case
This commit is contained in:
parent
2588ff0b94
commit
4ff21d8582
|
@ -147,6 +147,8 @@ static void load_unix_sockets(void) {
|
||||||
if (!(s = strdup(p)))
|
if (!(s = strdup(p)))
|
||||||
goto fail;
|
goto fail;
|
||||||
|
|
||||||
|
path_kill_slashes(s);
|
||||||
|
|
||||||
if ((k = set_put(unix_sockets, s)) < 0) {
|
if ((k = set_put(unix_sockets, s)) < 0) {
|
||||||
free(s);
|
free(s);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue