mirror of
https://github.com/moparisthebest/curl
synced 2024-12-22 16:18:48 -05:00
tool: Fixed incorrect return code with --version from commit c10bf9bb36
This commit is contained in:
parent
3674f2021d
commit
6512e93be1
@ -1839,7 +1839,7 @@ CURLcode operate(struct Configurable *config, int argc, argv_item_t argv[])
|
|||||||
else if(res == PARAM_VERSION_INFO_REQUESTED)
|
else if(res == PARAM_VERSION_INFO_REQUESTED)
|
||||||
tool_version_info();
|
tool_version_info();
|
||||||
/* Check if we were asked to list the SSL engines */
|
/* Check if we were asked to list the SSL engines */
|
||||||
if(res == PARAM_ENGINES_REQUESTED)
|
else if(res == PARAM_ENGINES_REQUESTED)
|
||||||
tool_list_engines(config->easy);
|
tool_list_engines(config->easy);
|
||||||
else
|
else
|
||||||
result = CURLE_FAILED_INIT;
|
result = CURLE_FAILED_INIT;
|
||||||
|
Loading…
Reference in New Issue
Block a user