chiark / gitweb /
tmpfiles: kill double slashes in unix socket names, just in case
authorLennart Poettering <lennart@poettering.net>
Thu, 17 Feb 2011 12:13:34 +0000 (13:13 +0100)
committerLennart Poettering <lennart@poettering.net>
Thu, 17 Feb 2011 12:13:34 +0000 (13:13 +0100)
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);