結果 : bash get function exit code