fix: leer stdin solo si es una terminal real #34
This commit is contained in:
parent
834d485b18
commit
306ec0efc0
1 changed files with 1 additions and 1 deletions
2
haini.sh
2
haini.sh
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue