diff options
Diffstat (limited to 'priv')
-rwxr-xr-x | priv/templates/extended_bin | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/priv/templates/extended_bin b/priv/templates/extended_bin index 2630bbf..06c7242 100755 --- a/priv/templates/extended_bin +++ b/priv/templates/extended_bin @@ -13,6 +13,10 @@ set -e RUN_ERL_DISABLE_FLOWCNTRL=${RUN_ERL_DISABLE_FLOWCNTRL:-true} export $RUN_ERL_DISABLE_FLOWCNTRL +if [ "$TERM" = "dumb" -o -z "$TERM" ]; then + export TERM=screen +fi + SCRIPT=$(readlink $0 || true) if [ -z $SCRIPT ]; then SCRIPT=$0 |