don't raise an error in zlogin when stderr is not a TTY
don't raise an error in zlogin when stderr is not a TTY

copied from upstream:
https://github.com/sorin-ionescu/prezto/commit/c6efe8015224fe6dbc10d8f4b1aa52ce5afc9432

jeffwidman/dotfiles