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 d77e5f9  Runroot: make traffic_top use runroot
d77e5f9 is described below

commit d77e5f9e833783151cf677f7c8a57cb8a084beb7
Author: Xavier Chi <chitianha...@gmail.com>
AuthorDate: Sat Feb 2 14:09:39 2019 -0600

    Runroot: make traffic_top use runroot
---
 src/traffic_top/traffic_top.cc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/traffic_top/traffic_top.cc b/src/traffic_top/traffic_top.cc
index 4021cc7..e093636 100644
--- a/src/traffic_top/traffic_top.cc
+++ b/src/traffic_top/traffic_top.cc
@@ -57,6 +57,7 @@
 #include "tscore/ink_args.h"
 #include "records/I_RecProcess.h"
 #include "RecordsConfig.h"
+#include "tscore/runroot.h"
 
 using namespace std;
 
@@ -407,6 +408,7 @@ main(int argc, const char **argv)
 
   process_args(&version, argument_descriptions, 
countof(argument_descriptions), argv, USAGE);
 
+  runroot_handler(argv);
   Layout::create();
   RecProcessInit(RECM_STAND_ALONE, nullptr /* diags */);
   LibRecordsConfigInit();

Reply via email to