Exit with failure status if download or installation is not confirmed

Signed-off-by: Allan McRae <allan@archlinux.org>
fix zsh stacked commpletion

Now it doesn't do pacman -Sy<tab> pacman -y

Signed-off-by: Daniel Wallace <danielwallace@gtmanfred.com>