commit 5c2530d1c389addf01bb5818ddda6ed8a9a567d9
parent 8529441a2dd4ba39d9682a30c816d6eae859981f
Author: ccx <ccx@te2000.cz>
Date: Mon, 18 Mar 2024 16:13:03 +0000
Do not exec into ns_run_mounts
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sbin/ns_run_unshared b/sbin/ns_run_unshared
@@ -72,7 +72,7 @@ backtick -i NS_FINAL_SCRIPT {
if { mount -o rbind $1 $NS_ROOT }
cd $NS_ROOT
-ns_run_mounts .
+if { ns_run_mounts . }
# mountpoint for privileged operations and pivot_root
if { s6-mount -nwt tmpfs -o nosuid,nodev,mode=700 mnt_ns $NS_TMPFS }