This commit is contained in:
Wang Sen Di
2025-12-16 16:05:30 +08:00
parent c9290e799c
commit 0c2eaf3336

View File

@@ -24,8 +24,6 @@ __host_exec() {
if [[ -d "/host/proc/1" ]] && command -v nsenter >/dev/null 2>&1; then
nsenter --mount=/host/proc/1/ns/mnt \
--net=/host/proc/1/ns/net \
--pid=/host/proc/1/ns/pid \
--uts=/host/proc/1/ns/uts \
-- "$@"
else
"$@"