Bash Assign Command Exit Code 1