結果 : bash get exit code from piped command