You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by pa...@apache.org on 2018/03/26 20:54:09 UTC

[trafficserver] branch master updated: CacheTool:Set exit code in case of error

This is an automated email from the ASF dual-hosted git repository.

paziz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/master by this push:
     new 47a770b  CacheTool:Set exit code in case of error
47a770b is described below

commit 47a770bd47497f20d0c934671c47562565c95cbe
Author: Persia Aziz <pe...@yahoo-inc.com>
AuthorDate: Mon Mar 26 13:26:47 2018 -0500

    CacheTool:Set exit code in case of error
---
 cmd/traffic_cache_tool/CacheTool.cc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/cmd/traffic_cache_tool/CacheTool.cc b/cmd/traffic_cache_tool/CacheTool.cc
index aa7fb0d..1d36900 100644
--- a/cmd/traffic_cache_tool/CacheTool.cc
+++ b/cmd/traffic_cache_tool/CacheTool.cc
@@ -2503,6 +2503,7 @@ main(int argc, char *argv[])
 
   if (result.size()) {
     std::cerr << result;
+    exit(1);
   }
   if (inp)
     free(inp);

-- 
To stop receiving notification emails like this one, please contact
paziz@apache.org.