From 050a68fec901030c7428852f8f536ace055eb2f7 Mon Sep 17 00:00:00 2001
From: akallabeth <akallabeth@posteo.net>
Date: Fri, 22 Jan 2021 09:32:51 +0100
Subject: [PATCH] Do not eliminate original error status.

---
 client/common/cmdline.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/client/common/cmdline.c b/client/common/cmdline.c
index dc8367b7cd..66d3c4fffe 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;
 	}
 
