about summary refs log tree commit diff
path: root/src/libstore/build.cc
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2012-11-09T15·42+0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2012-11-09T15·42+0100
commit10dcee99ed62a775c05f34aa70449945d537e1a2 (patch)
tree4b60acb53162cf4145e9a8085f328b3101399443 /src/libstore/build.cc
parent4c9e3fa6412f736ce422f8deb0ba825999b66b0a (diff)
Remove the quickExit function
Diffstat (limited to 'src/libstore/build.cc')
-rw-r--r--src/libstore/build.cc8
1 files changed, 4 insertions, 4 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 */