trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bc...@apache.org
Subject [trafficserver] branch 8.0.x updated: Runroot: make traffic_top use runroot
Date Thu, 07 Feb 2019 19:30:27 GMT
This is an automated email from the ASF dual-hosted git repository.

bcall pushed a commit to branch 8.0.x
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/8.0.x by this push:
     new 72d78fb  Runroot: make traffic_top use runroot
72d78fb is described below

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

    Runroot: make traffic_top use runroot
    
    (cherry picked from commit d77e5f9e833783151cf677f7c8a57cb8a084beb7)
---
 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();


Mime
View raw message