No hacía falta bindear el socket
This commit is contained in:
parent
5b3516d0f8
commit
b372a54e1f
1 changed files with 0 additions and 8 deletions
8
haini.sh
8
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}"
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue