From 73911524a44e8bd13f6c5fe175337e69749f0268 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Thu, 27 Oct 2022 18:15:44 +0100 Subject: 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 --- bubblewrap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- cgit v1.2.1