1
0
mirror of https://github.com/docker-mailserver/docker-mailserver.git synced 2025-08-09 23:07:35 +02:00

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

View File

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