More Travis fixes

This commit is contained in:
Dylan Araps 2016-05-28 11:35:20 +10:00
parent a846076807
commit a7f7218b24

View file

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