aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2014-02-23 12:10:42 +0000
committerSteve Holme <steve_holme@hotmail.com>2014-02-23 12:13:39 +0000
commit6512e93be1d60eb9879676665c032f34e6940c70 (patch)
tree6094d817514214601dbd28c0c4628c80d9981cc9 /src
parent3674f2021d9ad53c01f45ceedb28c664bb3e7747 (diff)
tool: Fixed incorrect return code with --version from commit c10bf9bb36
Diffstat (limited to 'src')
-rw-r--r--src/tool_operate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tool_operate.c b/src/tool_operate.c
index eaff86500..d117a2aad 100644
--- a/src/tool_operate.c
+++ b/src/tool_operate.c
@@ -1839,7 +1839,7 @@ CURLcode operate(struct Configurable *config, int argc, argv_item_t argv[])
else if(res == PARAM_VERSION_INFO_REQUESTED)
tool_version_info();
/* 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);
else
result = CURLE_FAILED_INIT;