summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/xserver-test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/xserver-test.cpp b/test/xserver-test.cpp
index ccbc2e9..ed0de36 100644
--- a/test/xserver-test.cpp
+++ b/test/xserver-test.cpp
@@ -240,7 +240,7 @@ TEST(XServer, KeepAlive)
ASSERT_EQ(write(pipefd[1], buffer, strlen(buffer)), (int)strlen(buffer));
close(pipefd[1]);
free(buffer);
- return;
+ exit(0);
}
sigset_t sig_mask;