diff --git a/cmd/exec/exec.go b/cmd/exec/exec.go index 754df512..d6f7783c 100644 --- a/cmd/exec/exec.go +++ b/cmd/exec/exec.go @@ -308,9 +308,7 @@ if [ ${CURRENT_NIX_INODE} -ne ${TARGET_NIX_INODE} ]; then fi {{ end }} -ln -s /proc/${CURRENT_PID}/root/ /proc/{{ .TARGET_PID }}/root/.cdebug-{{ .ID }} - -export CDEBUG_ROOTFS=/.cdebug-{{ .ID }} +export CDEBUG_ROOTFS=/proc/${CURRENT_PID}/root/ cat > /.cdebug-entrypoint.sh <