tmpfiles: kill double slashes in unix socket names, just in case

This commit is contained in:
Lennart Poettering 2011-02-17 13:13:34 +01:00
parent 2588ff0b94
commit 4ff21d8582
1 changed files with 2 additions and 0 deletions

View File

@ -147,6 +147,8 @@ static void load_unix_sockets(void) {
if (!(s = strdup(p)))
goto fail;
path_kill_slashes(s);
if ((k = set_put(unix_sockets, s)) < 0) {
free(s);