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

View File

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