結果 : shell save exit code to variable