fix: leer stdin solo si es una terminal real #34

This commit is contained in:
f 2022-11-09 20:04:51 -03:00
parent 834d485b18
commit 306ec0efc0

View file

@ -269,7 +269,7 @@ else
actualizar
crear_entorno
stdin=/dev/stdin correr "${*:-$DEFAULT}" ; salida=$?
stdin="$(test "$TERM" = "dumb" || echo "/dev/stdin")" correr "${*:-$DEFAULT}" ; salida=$?
${SSH_ADHOC} && ssh-agent -k