Skip to content
Permalink
Browse files Browse the repository at this point in the history
Disable unused feature.
  • Loading branch information
Daniel Knoppel (Phusion) committed Oct 13, 2017
1 parent a63f1e9 commit 4043718
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/agent/Core/SpawningKit/Spawner.h
Expand Up @@ -721,7 +721,6 @@ class Spawner {
prepareChroot(info, options);
info.userSwitching = prepareUserSwitching(options);
prepareSwitchingWorkingDirectory(info, options);
inferApplicationInfo(info);
return info;
}

Expand Down Expand Up @@ -775,6 +774,7 @@ class Spawner {
assert(info.appRootPathsInsideChroot.back() == info.appRootInsideChroot);
}

#ifdef false
void inferApplicationInfo(SpawnPreparationInfo &info) const {
info.codeRevision = readFromRevisionFile(info);
if (info.codeRevision.empty()) {
Expand Down Expand Up @@ -817,6 +817,7 @@ class Spawner {
return string();
}
}
#endif

bool shouldLoadShellEnvvars(const Options &options, const SpawnPreparationInfo &preparation) const {
if (options.loadShellEnvvars) {
Expand Down

0 comments on commit 4043718

Please sign in to comment.