summaryrefslogtreecommitdiffstats
path: root/logforwarder
diff options
context:
space:
mode:
authorArne Juul <arnej@yahoo-inc.com>2017-10-13 12:37:12 +0000
committerArne Juul <arnej@yahoo-inc.com>2017-10-13 13:17:34 +0000
commit8f223a4be60c6c19a1fca84c219ecfbb2516f125 (patch)
treee3f2c15079e22a4ad8b0b13bd9e5089d7e1da4f9 /logforwarder
parentf54a1254b36a02d909ed7c59605d8ea317a05218 (diff)
rename config variable for SPLUNK_HOME
Diffstat (limited to 'logforwarder')
-rw-r--r--logforwarder/src/apps/vespa-logforwarder-start/cf-handler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/logforwarder/src/apps/vespa-logforwarder-start/cf-handler.cpp b/logforwarder/src/apps/vespa-logforwarder-start/cf-handler.cpp
index 18b2c1d255b..bdd1855f95c 100644
--- a/logforwarder/src/apps/vespa-logforwarder-start/cf-handler.cpp
+++ b/logforwarder/src/apps/vespa-logforwarder-start/cf-handler.cpp
@@ -62,7 +62,7 @@ CfHandler::doConfigure()
std::unique_ptr<LogforwarderConfig> cfg(_handle->getConfig());
const LogforwarderConfig& config(*cfg);
- vespalib::string path = cfFilePath(config.splunkPath);
+ vespalib::string path = cfFilePath(config.splunkHome);
vespalib::string tmpPath = path + ".new";
FILE *fp = fopen(tmpPath.c_str(), "w");
if (fp == NULL) return;
@@ -76,7 +76,7 @@ CfHandler::doConfigure()
fclose(fp);
rename(tmpPath.c_str(), path.c_str());
- childHandler.startChild(config.splunkPath);
+ childHandler.startChild(config.splunkHome);
}
void