結果 : how to capture return code in shell script