diff options
author | Arne Juul <arnej@verizonmedia.com> | 2020-07-02 12:33:51 +0000 |
---|---|---|
committer | Arne Juul <arnej@verizonmedia.com> | 2020-07-03 08:02:39 +0000 |
commit | 8440cd09772a8fb8174915af9c4fb786dcf2cff0 (patch) | |
tree | 4acd4e37ea04f2e96fb50b0cf32dd8c305e3f6e5 /logd | |
parent | 8ee299a551980d8e4a0b51ca7685c3a70a4bd2bd (diff) |
avoid naked exit
Diffstat (limited to 'logd')
-rw-r--r-- | logd/src/tests/rotate/dummyserver.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/logd/src/tests/rotate/dummyserver.cpp b/logd/src/tests/rotate/dummyserver.cpp index 4a52154f37c..f3458edaf80 100644 --- a/logd/src/tests/rotate/dummyserver.cpp +++ b/logd/src/tests/rotate/dummyserver.cpp @@ -9,11 +9,12 @@ #include <time.h> #include <fcntl.h> #include <vespa/vespalib/net/socket_address.h> +#include <cstdlib> void error(const char *msg) { perror(msg); - exit(1); + std::_Exit(1); } int main(int /*argc*/, char ** /*argv*/) |