結果 : shell check if previous command failed