aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/jls
diff options
context:
space:
mode:
authorJamie Gritton <jamie@FreeBSD.org>2020-12-15 20:56:35 +0000
committerJamie Gritton <jamie@FreeBSD.org>2020-12-15 20:56:35 +0000
commit3050aced424fabe8dcec8d8fcac352b2e02915db (patch)
treed7dfd19f0b36a7ef1fdfbb7b436b29c6f785d533 /usr.sbin/jls
parent5fee468e83efcfa33d016da2f5dea63ca3d8a15f (diff)
downloadsrc-3050aced424fabe8dcec8d8fcac352b2e02915db.tar.gz
src-3050aced424fabe8dcec8d8fcac352b2e02915db.zip
Bugfix to not hide jailparam flags, which for example changes the output
"vnet=2" to the less opaque "vnet=inherit" Reported by: kevans MFC after: 5 days
Notes
Notes: svn path=/head/; revision=368676
Diffstat (limited to 'usr.sbin/jls')
-rw-r--r--usr.sbin/jls/jls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/jls/jls.c b/usr.sbin/jls/jls.c
index 3621de849bda..374ee14bf080 100644
--- a/usr.sbin/jls/jls.c
+++ b/usr.sbin/jls/jls.c
@@ -323,7 +323,7 @@ add_param(const char *name, void *value, size_t valuelen,
}
xo_errx(1, "%s", jail_errmsg);
}
- param->jp_flags = flags;
+ param->jp_flags |= flags;
return param - params;
}