core: fix namespace parsing

ReadOnlyDirectories=-/ works fine
This commit is contained in:
Evgeny Vereshchagin 2015-10-21 11:49:36 +00:00
parent 5e4cecfb67
commit 5268dcef5a

View file

@ -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)