結果 : check exit status of command in shell script