結果 : bash get previous exit code