Do not eliminate original error status.

(cherry picked from commit 050a68fec9)
This commit is contained in:
akallabeth 2021-01-22 09:32:51 +01:00 committed by akallabeth
parent 2dbd33b5bb
commit 87db6078f0

View File

@ -1470,7 +1470,6 @@ int freerdp_client_settings_command_line_status_print_ex(rdpSettings* settings,
else if (status < 0)
{
freerdp_client_print_command_line_help_ex(argc, argv, custom);
status = COMMAND_LINE_STATUS_PRINT_HELP;
goto out;
}