You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by bc...@apache.org on 2019/02/07 19:30:27 UTC

[trafficserver] branch 8.0.x updated: Runroot: make traffic_top use runroot

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 <ch...@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();