結果 : bash if statement based on exit code