about summary refs log tree commit diff
path: root/src/libstore
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstore')
-rw-r--r--src/libstore/build.cc8
-rw-r--r--src/libstore/local-store.cc2
2 files changed, 5 insertions, 5 deletions
diff --git a/src/libstore/build.cc b/src/libstore/build.cc
index 3a06aa1fca44..d1c9f1727ea1 100644
--- a/src/libstore/build.cc
+++ b/src/libstore/build.cc
@@ -569,7 +569,7 @@ static void runSetuidHelper(const string & command,
         catch (std::exception & e) {
             std::cerr << "error: " << e.what() << std::endl;
         }
-        quickExit(1);
+        _exit(1);
     }
 
     /* Parent. */
@@ -701,7 +701,7 @@ HookInstance::HookInstance()
         } catch (std::exception & e) {
             std::cerr << format("build hook error: %1%") % e.what() << std::endl;
         }
-        quickExit(1);
+        _exit(1);
     }
 
     /* parent */
@@ -2146,7 +2146,7 @@ void DerivationGoal::initChild()
 
     } catch (std::exception & e) {
         std::cerr << format("build error: %1%") % e.what() << std::endl;
-        quickExit(inSetup ? childSetupFailed : 1);
+        _exit(inSetup ? childSetupFailed : 1);
     }
 
     abort(); /* never reached */
@@ -2702,7 +2702,7 @@ void SubstitutionGoal::tryToRun()
         } catch (std::exception & e) {
             std::cerr << format("substitute error: %1%") % e.what() << std::endl;
         }
-        quickExit(1);
+        _exit(1);
     }
 
     /* parent */
diff --git a/src/libstore/local-store.cc b/src/libstore/local-store.cc
index b69eec614aa4..bcf367d654b8 100644
--- a/src/libstore/local-store.cc
+++ b/src/libstore/local-store.cc
@@ -981,7 +981,7 @@ void LocalStore::startSubstituter(const Path & substituter, RunningSubstituter &
         } catch (std::exception & e) {
             std::cerr << "error: " << e.what() << std::endl;
         }
-        quickExit(1);
+        _exit(1);
     }
 
     /* Parent. */