chiark / gitweb /
tmpfiles: kill double slashes in unix socket names, just in case
[elogind.git] / src / tmpfiles.c
index 01668da87e142c8a3711424e1c05e47c55080425..c5397ef846ca2cdcabbc945ee7efd0c2f37910e9 100644 (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);