tool: Fixed incorrect return code with --version from commit c10bf9bb36
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user