Merge pull request #1407 from casperklein/patch-1

Allow calling setup.sh from other scripts by using tty command.
This commit is contained in:
Erik Wramner 2020-03-16 17:02:18 +01:00 committed by GitHub
commit f2c9424828
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -127,7 +127,7 @@ _docker_image_exists() {
fi
}
if [ -t 1 ] ; then
if tty -s ; then
USE_TTY="-ti"
fi