aboutsummaryrefslogtreecommitdiff
path: root/src/libstore
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2012-11-09 16:42:10 +0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2012-11-09 16:42:10 +0100
commit10dcee99ed62a775c05f34aa70449945d537e1a2 (patch)
tree4b60acb53162cf4145e9a8085f328b3101399443 /src/libstore
parent4c9e3fa6412f736ce422f8deb0ba825999b66b0a (diff)
Remove the quickExit function
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 3a06aa1fc..d1c9f1727 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 b69eec614..bcf367d65 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. */