diff options
author | Shea Levy <shea@shealevy.com> | 2015-11-16T10·53-0500 |
---|---|---|
committer | Shea Levy <shea@shealevy.com> | 2015-11-16T10·53-0500 |
commit | 58d2fac91d0da7312e3ef147b6b290ea16031da8 (patch) | |
tree | ba474622269f885954478d3713ab39da098a8821 /src/libstore | |
parent | 4390142315a0d6ed0f67712061498c68389ea3b7 (diff) |
AutoDelete: Add default constructor with deletion disabled
Diffstat (limited to 'src/libstore')
-rw-r--r-- | src/libstore/build.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/build.cc b/src/libstore/build.cc index 6f662f81daaf..6112d528cce5 100644 --- a/src/libstore/build.cc +++ b/src/libstore/build.cc @@ -2534,7 +2534,7 @@ void DerivationGoal::runChild() Path sandboxFile = drvPath + ".sb"; if (pathExists(sandboxFile)) deletePath(sandboxFile); - autoDelSandbox = AutoDelete(sandboxFile); + autoDelSandbox.reset(sandboxFile, false); writeFile(sandboxFile, sandboxProfile); |