結果 : bash script get exit code of last command