From 10dcee99ed62a775c05f34aa70449945d537e1a2 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Fri, 9 Nov 2012 16:42:10 +0100 Subject: Remove the quickExit function --- src/libstore/build.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/libstore/build.cc') 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 */ -- cgit 1.4.1