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

dragon 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 7ea644a  remove bad check
7ea644a is described below

commit 7ea644a9d4fdb91b6283a38e0d2fdb3b169f2f00
Author: unknown <[email protected]>
AuthorDate: Wed Jun 7 14:13:39 2017 -0500

    remove bad check
---
 proxy/Main.cc | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/proxy/Main.cc b/proxy/Main.cc
index 96c9f05..a2d1265 100644
--- a/proxy/Main.cc
+++ b/proxy/Main.cc
@@ -1542,12 +1542,6 @@ main(int /* argc ATS_UNUSED */, const char **argv)
   }
 #endif
 
-  // Specific validity checks.
-  if (*conf_dir && command_index != find_cmd_index(CMD_VERIFY_CONFIG)) {
-    fprintf(stderr, "-D option can only be used with the %s command\n", 
CMD_VERIFY_CONFIG);
-    ::exit(1);
-  }
-
   // Bootstrap syslog.  Since we haven't read records.config
   //   yet we do not know where
   openlog("traffic_server", LOG_PID | LOG_NDELAY | LOG_NOWAIT, LOG_DAEMON);

-- 
To stop receiving notification emails like this one, please contact
['"[email protected]" <[email protected]>'].

Reply via email to