[bash] Exit Shell Script Based on Process Exit Code