core: fix namespace parsing
ReadOnlyDirectories=-/ works fine
This commit is contained in:
parent
5e4cecfb67
commit
5268dcef5a
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue