diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2012-11-09T15·42+0100 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2012-11-09T15·42+0100 |
commit | 10dcee99ed62a775c05f34aa70449945d537e1a2 (patch) | |
tree | 4b60acb53162cf4145e9a8085f328b3101399443 /src/libstore/build.cc | |
parent | 4c9e3fa6412f736ce422f8deb0ba825999b66b0a (diff) |
Remove the quickExit function
Diffstat (limited to 'src/libstore/build.cc')
-rw-r--r-- | src/libstore/build.cc | 8 |
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 */ |