From b372a54e1f4be2feb2bfc3591c87fb35d91f7b79 Mon Sep 17 00:00:00 2001 From: f Date: Tue, 28 Sep 2021 15:21:54 -0300 Subject: [PATCH] =?UTF-8?q?No=20hac=C3=ADa=20falta=20bindear=20el=20socket?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- haini.sh | 8 -------- 1 file changed, 8 deletions(-) diff --git a/haini.sh b/haini.sh index 20c893f..6653eb9 100755 --- a/haini.sh +++ b/haini.sh @@ -49,13 +49,6 @@ correr() { SET_GID="$(id -g)" fi - # Agregar flags dinĂ¡micas - EXTRA_FLAGS="" - - if test -S "${SSH_AUTH_SOCK}"; then - EXTRA_FLAGS="${EXTRA_FLAGS} --bind ${SSH_AUTH_SOCK} ${SSH_AUTH_SOCK}" - fi - env -i \ TERM="$TERM" \ USER="suttier" \ @@ -84,7 +77,6 @@ correr() { --dev-bind /proc /proc \ --dev-bind /tmp /tmp \ --chdir "$WORKDIR" \ - ${EXTRA_FLAGS} \ /bin/sh -l -c "$1" < "${stdin:-/dev/null}" }