diff options
author | Lennart Poettering <lennart@poettering.net> | 2011-02-17 13:13:34 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2011-02-17 13:13:34 +0100 |
commit | 4ff21d85822b521ed6741ef88cb4aaa384539dec (patch) | |
tree | a53ec139e5055b38d118f5bb1865637924a5eba0 /src | |
parent | 2588ff0b940e82fd0986ed7567a6ae8f2741537d (diff) |
tmpfiles: kill double slashes in unix socket names, just in case
Diffstat (limited to 'src')
-rw-r--r-- | src/tmpfiles.c | 2 |
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); |