From 4ff21d85822b521ed6741ef88cb4aaa384539dec Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 17 Feb 2011 13:13:34 +0100 Subject: tmpfiles: kill double slashes in unix socket names, just in case --- src/tmpfiles.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/tmpfiles.c') diff --git a/src/tmpfiles.c b/src/tmpfiles.c index 01668da87e..c5397ef846 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); -- cgit v1.2.3-54-g00ecf