From 87db6078f06c492d0c1e94fcc43a1b5a22d96503 Mon Sep 17 00:00:00 2001 From: akallabeth Date: Fri, 22 Jan 2021 09:32:51 +0100 Subject: [PATCH] Do not eliminate original error status. (cherry picked from commit 050a68fec901030c7428852f8f536ace055eb2f7) --- client/common/cmdline.c | 1 - 1 file changed, 1 deletion(-) diff --git a/client/common/cmdline.c b/client/common/cmdline.c index 193117240..1684df1f3 100644 --- a/client/common/cmdline.c +++ b/client/common/cmdline.c @@ -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; }