You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by dr...@apache.org on 2019/02/07 17:37:30 UTC
[trafficserver] branch master updated: Runroot: make traffic_top
use runroot
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 <ch...@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();