installer: don't run zsh at the end

Co-authored-by: Joel Kuzmarski <leoj3n@gmail.com>
This commit is contained in:
Marc Cornellà 2019-05-27 22:21:39 +02:00
parent 794ff4a62d
commit a40d93295f

View file

@ -219,6 +219,11 @@ main() {
EOF
printf "$RESET"
if [ ! -t 0 ]; then
echo "${YELLOW}Run zsh to try it out.${RESET}"
exit
fi
exec zsh -l
}