Don't show error flag for prompt if first command in shell.