summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon McVittie <smcv@collabora.com>2022-10-27 18:15:44 +0100
committerSimon McVittie <smcv@collabora.com>2022-10-27 18:15:48 +0100
commit73911524a44e8bd13f6c5fe175337e69749f0268 (patch)
tree488b43c3cb25e78910b1b6383a2c83f05e3d77a6
parentddc431a88e36ce4c38cb0e6f2583ba35a2a0f276 (diff)
downloadbubblewrap-73911524a44e8bd13f6c5fe175337e69749f0268.tar.gz
Fix copy/paste error in help for --pidns
--pidns acts on a pid namespace, not a user namespace. Resolves: https://github.com/containers/bubblewrap/issues/531 Thanks: hadess Signed-off-by: Simon McVittie <smcv@collabora.com>
-rw-r--r--bubblewrap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bubblewrap.c b/bubblewrap.c
index f2e4a12..eece9d8 100644
--- a/bubblewrap.c
+++ b/bubblewrap.c
@@ -311,7 +311,7 @@ usage (int ecode, FILE *out)
" --unshare-cgroup-try Create new cgroup namespace if possible else continue by skipping it\n"
" --userns FD Use this user namespace (cannot combine with --unshare-user)\n"
" --userns2 FD After setup switch to this user namespace, only useful with --userns\n"
- " --pidns FD Use this user namespace (as parent namespace if using --unshare-pid)\n"
+ " --pidns FD Use this pid namespace (as parent namespace if using --unshare-pid)\n"
" --uid UID Custom uid in the sandbox (requires --unshare-user or --userns)\n"
" --gid GID Custom gid in the sandbox (requires --unshare-user or --userns)\n"
" --hostname NAME Custom hostname in the sandbox (requires --unshare-uts)\n"