chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2588ff0
)
tmpfiles: kill double slashes in unix socket names, just in case
author
Lennart Poettering
<lennart@poettering.net>
Thu, 17 Feb 2011 12:13:34 +0000
(13:13 +0100)
committer
Lennart Poettering
<lennart@poettering.net>
Thu, 17 Feb 2011 12:13:34 +0000
(13:13 +0100)
src/tmpfiles.c
patch
|
blob
|
history
diff --git
a/src/tmpfiles.c
b/src/tmpfiles.c
index 01668da87e142c8a3711424e1c05e47c55080425..c5397ef846ca2cdcabbc945ee7efd0c2f37910e9 100644
(file)
--- 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);