結果 : shell check if last command failed