summaryrefslogtreecommitdiffstats
path: root/vespalib
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2016-09-06 12:27:24 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2016-09-06 12:27:24 +0000
commit560ecb7f8c696163c323b30c73088a7b8cb0312f (patch)
tree39ed513e6d7f38440eceb8cf80f70438f7e20952 /vespalib
parent9a70767a4e5fe62f02145d02b02199992a014504 (diff)
Use quick_exit
Diffstat (limited to 'vespalib')
-rw-r--r--vespalib/src/vespa/vespalib/util/exceptions.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/vespalib/src/vespa/vespalib/util/exceptions.cpp b/vespalib/src/vespa/vespalib/util/exceptions.cpp
index f6b7906bed5..ce1de7d569a 100644
--- a/vespalib/src/vespa/vespalib/util/exceptions.cpp
+++ b/vespalib/src/vespa/vespalib/util/exceptions.cpp
@@ -34,7 +34,7 @@ vespalib::string _G_what;
void silent_terminate() {
std::lock_guard<std::mutex> guard(_G_silence_mutex);
LOG(fatal, "Will exit with code 66 due to: %s", _G_what.c_str());
- std::exit(66);
+ std::quick_exit(66);
}
}