From 4ff21d85822b521ed6741ef88cb4aaa384539dec Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 17 Feb 2011 13:13:34 +0100 Subject: [PATCH] tmpfiles: kill double slashes in unix socket names, just in case --- src/tmpfiles.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/tmpfiles.c b/src/tmpfiles.c index 01668da8..c5397ef8 100644 --- a/src/tmpfiles.c +++ b/src/tmpfiles.c @@ -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); -- 2.39.5