Fixed command output when ERROR_FILE is specified