From: Daniel Golle Date: Wed, 28 Oct 2020 13:01:52 +0000 (+0000) Subject: jail: don't fail if maskedPath cannot be found X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=257f29b867ba47f6f87c097c13746b291b145506;p=project%2Fprocd.git jail: don't fail if maskedPath cannot be found Signed-off-by: Daniel Golle --- 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; }