summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Golle2020-10-28 13:01:52 +0000
committerDaniel Golle2020-10-28 13:47:27 +0000
commit257f29b867ba47f6f87c097c13746b291b145506 (patch)
tree26fa0255af61005ea668e327141b8895225bd84c
parente1fcfdcd884ef9ecf8c45d70f9ebda37286500e0 (diff)
downloadprocd-257f29b867ba47f6f87c097c13746b291b145506.tar.gz
jail: don't fail if maskedPath cannot be found
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
-rw-r--r--jail/jail.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/jail/jail.c b/jail/jail.c
index 012d954..4b368ea 100644
--- a/jail/jail.c
+++ b/jail/jail.c
@@ -2100,7 +2100,7 @@ static int parseOCIlinux(struct blob_attr *msg)
if (tb[OCI_LINUX_MASKEDPATHS]) {
blobmsg_for_each_attr(cur, tb[OCI_LINUX_MASKEDPATHS], rem) {
- res = add_mount((void *)(-1), blobmsg_get_string(cur), NULL, 0, 0, NULL, 1);
+ res = add_mount((void *)(-1), blobmsg_get_string(cur), NULL, 0, 0, NULL, 0);
if (res)
return res;
}