summaryrefslogtreecommitdiffstats
path: root/vespalog/src/test/simple/logtest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'vespalog/src/test/simple/logtest.cpp')
-rw-r--r--vespalog/src/test/simple/logtest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/vespalog/src/test/simple/logtest.cpp b/vespalog/src/test/simple/logtest.cpp
index 020c97dd1a8..7951b488052 100644
--- a/vespalog/src/test/simple/logtest.cpp
+++ b/vespalog/src/test/simple/logtest.cpp
@@ -33,5 +33,5 @@ main(int, char **argv)
LOG(info, "Exiting.");
EV_STOPPING("logtest", "clean exit");
EV_STOPPED("logtest", getpid(), 0);
- exit(EXIT_SUCCESS);
+ return EXIT_SUCCESS;
}