More Travis fixes

This commit is contained in:
Dylan Araps 2016-05-28 11:35:20 +10:00
parent a846076807
commit a7f7218b24
1 changed files with 2 additions and 1 deletions

View File

@ -1766,8 +1766,9 @@ getterm () {
esac
case "${name// }" in
"${SHELL/*\/}" | *"sh" | "tmux" | "screen" | "systemd" | "sshd" | "ruby") getterm "$parent" ;;
"${SHELL/*\/}" | *"sh" | "tmux" | "screen") getterm "$parent" ;;
"login" | "init") term="$(tty)"; term=${term/*\/} ;;
"ruby" | "1" | "systemd" | "sshd") unset term ;;
*) term="$name" ;;
esac
fi