Skip to content

Commit

Permalink
Reset tmpDirInSandbox for unsandboxed
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewbauer committed Aug 24, 2019
1 parent 9a0855b commit 5c06a8d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/libstore/build.cc
Expand Up @@ -2330,6 +2330,7 @@ void DerivationGoal::startBuilder()
int res = helper.wait();
if (res != 0 && settings.sandboxFallback) {
useChroot = false;
tmpDirInSandbox = tmpDir;
goto fallback;
} else if (res != 0)
throw Error("unable to start build process");
Expand Down

0 comments on commit 5c06a8d

Please sign in to comment.