aboutsummaryrefslogtreecommitdiffstats
path: root/configd
diff options
context:
space:
mode:
authorArnstein Ressem <aressem@gmail.com>2022-09-20 13:40:44 +0200
committerGitHub <noreply@github.com>2022-09-20 13:40:44 +0200
commit53932286a60a043297a78cabf2574be3b3d5e9cc (patch)
treea5c42ac3b76ba4494fe8e221fe8eb8fee6f0a52e /configd
parent646e4ced2575c6a340bb5bd2a445e06c856451bc (diff)
Revert "pass environment variables securily in config"
Diffstat (limited to 'configd')
-rw-r--r--configd/src/apps/sentinel/service.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/configd/src/apps/sentinel/service.cpp b/configd/src/apps/sentinel/service.cpp
index e9225325e27..16ca132c29d 100644
--- a/configd/src/apps/sentinel/service.cpp
+++ b/configd/src/apps/sentinel/service.cpp
@@ -326,10 +326,6 @@ Service::runChild()
fcntl(n, F_SETFD, FD_CLOEXEC);
}
- for (const auto &envvar : _config->environ) {
- setenv(envvar.varname.c_str(), envvar.varvalue.c_str(), 1);
- }
-
// Set up environment
setenv("VESPA_SERVICE_NAME", _config->name.c_str(), 1);
setenv("VESPA_CONFIG_ID", _config->id.c_str(), 1);