* script/sh/execute.c (grub_script_execute_cmdif): Reset grub_errno after we get the result of if statement.