chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
dbus: fix match
[elogind.git]
/
src
/
conf-parser.c
diff --git
a/src/conf-parser.c
b/src/conf-parser.c
index 6994211b1095ace6e014320b46971ae1d2a4b6c2..20f7641b13c5323e1b4600c2501f028ef3d7a1f1 100644
(file)
--- a/
src/conf-parser.c
+++ b/
src/conf-parser.c
@@
-337,6
+337,8
@@
int config_parse_path(
if (!(n = strdup(rvalue)))
return -ENOMEM;
+ path_kill_slashes(n);
+
free(*s);
*s = n;
@@
-441,6
+443,8
@@
int config_parse_path_strv(
goto fail;
}
+ path_kill_slashes(n[k]);
+
k++;
}