summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorTheJackiMonster <thejackimonster@gmail.com>2021-07-31 23:39:56 +0200
committerTheJackiMonster <thejackimonster@gmail.com>2021-07-31 23:39:56 +0200
commitf15deffc74ae9cb9ea9b32c14f55e4e125d0f4ba (patch)
treecf77d995cee5d9e1358493aaab2bd32a75639b57 /contrib
parentd02ea47f57e9cc4e95382cc4571bad497039dfed (diff)
-removed process namespaces from netjail script
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/scripts/netjail/netjail_core.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/scripts/netjail/netjail_core.sh b/contrib/scripts/netjail/netjail_core.sh
index d070f7220..1bfc365e7 100755
--- a/contrib/scripts/netjail/netjail_core.sh
+++ b/contrib/scripts/netjail/netjail_core.sh
@@ -152,7 +152,7 @@ netjail_node_exec() {
local FD_OUT=$3
shift 3
- unshare -fp --kill-child -- ip netns exec $NODE sudo -u $JAILOR -- $@ 1>& $FD_OUT 0<& $FD_IN
+ ip netns exec $NODE sudo -u $JAILOR -- $@ 1>& $FD_OUT 0<& $FD_IN
}
netjail_kill() {