Bash Script If Command Failed With Exit