Fix #5612: proper return values.

This commit is contained in:
Armin Novak 2019-09-24 09:45:35 +02:00
parent 733cc36462
commit 41976885c6
1 changed files with 3 additions and 1 deletions

View File

@ -65,7 +65,9 @@ int main(int argc, char* argv[])
xf_list_monitors(xfc);
freerdp_client_context_free(context);
return 0;
if (settings->ListMonitors)
return 0;
return status;
}
freerdp_client_start(context);