Reset tmpDirInSandbox for unsandboxed

This commit is contained in:
Matthew Bauer 2019-08-23 20:24:39 -04:00
parent 9a0855bbb6
commit 5c06a8d328
1 changed files with 1 additions and 0 deletions

View File

@ -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");