summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorEvgeny Vereshchagin <evvers@ya.ru>2015-10-21 11:49:36 +0000
committerEvgeny Vereshchagin <evvers@ya.ru>2015-10-21 11:49:36 +0000
commit5268dcef5a4d319e8a45f1371690a359b4f052ff (patch)
tree424de329efa3ffe852b87753c75f7429797fa453 /src/core
parent5e4cecfb67efa5f62345271af30865de1721b8f2 (diff)
core: fix namespace parsing
ReadOnlyDirectories=-/ works fine
Diffstat (limited to 'src/core')
-rw-r--r--src/core/load-fragment.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/load-fragment.c b/src/core/load-fragment.c
index ba39df6877..b36f5d532b 100644
--- a/src/core/load-fragment.c
+++ b/src/core/load-fragment.c
@@ -3227,7 +3227,7 @@ int config_parse_namespace_path_strv(
continue;
}
- path_kill_slashes(n);
+ path_kill_slashes(n + offset);
r = strv_push(sv, n);
if (r < 0)