No hacía falta bindear el socket

This commit is contained in:
f 2021-09-28 15:21:54 -03:00
parent 5b3516d0f8
commit b372a54e1f

View file

@ -49,13 +49,6 @@ correr() {
SET_GID="$(id -g)" SET_GID="$(id -g)"
fi 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 \ env -i \
TERM="$TERM" \ TERM="$TERM" \
USER="suttier" \ USER="suttier" \
@ -84,7 +77,6 @@ correr() {
--dev-bind /proc /proc \ --dev-bind /proc /proc \
--dev-bind /tmp /tmp \ --dev-bind /tmp /tmp \
--chdir "$WORKDIR" \ --chdir "$WORKDIR" \
${EXTRA_FLAGS} \
/bin/sh -l -c "$1" < "${stdin:-/dev/null}" /bin/sh -l -c "$1" < "${stdin:-/dev/null}"
} }