Fix some travis issues

This commit is contained in:
Dylan Araps 2016-05-28 11:31:15 +10:00
parent 64d2680278
commit a846076807

View file

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