summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-02-17 13:13:34 +0100
committerLennart Poettering <lennart@poettering.net>2011-02-17 13:13:34 +0100
commit4ff21d85822b521ed6741ef88cb4aaa384539dec (patch)
treea53ec139e5055b38d118f5bb1865637924a5eba0 /src
parent2588ff0b940e82fd0986ed7567a6ae8f2741537d (diff)
tmpfiles: kill double slashes in unix socket names, just in case
Diffstat (limited to 'src')
-rw-r--r--src/tmpfiles.c2
1 files changed, 2 insertions, 0 deletions
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);