-
This commit is contained in:
@@ -24,8 +24,6 @@ __host_exec() {
|
|||||||
if [[ -d "/host/proc/1" ]] && command -v nsenter >/dev/null 2>&1; then
|
if [[ -d "/host/proc/1" ]] && command -v nsenter >/dev/null 2>&1; then
|
||||||
nsenter --mount=/host/proc/1/ns/mnt \
|
nsenter --mount=/host/proc/1/ns/mnt \
|
||||||
--net=/host/proc/1/ns/net \
|
--net=/host/proc/1/ns/net \
|
||||||
--pid=/host/proc/1/ns/pid \
|
|
||||||
--uts=/host/proc/1/ns/uts \
|
|
||||||
-- "$@"
|
-- "$@"
|
||||||
else
|
else
|
||||||
"$@"
|
"$@"
|
||||||
|
|||||||
Reference in New Issue
Block a user