aboutsummaryrefslogtreecommitdiffstats
path: root/executor/common_test.h
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2019-01-31 09:56:54 +0100
committerDmitry Vyukov <dvyukov@google.com>2019-01-31 11:35:53 +0100
commit937e1ba861aa34554f512e1f6d0b493d89b883fc (patch)
treecaa96214618ccd1bb652ef9e602a60fc685ce074 /executor/common_test.h
parent6fb60a48131bd6ca2bb8ea760f253e057547c429 (diff)
executor: fix do_sandbox_none on akaros and test
do_sandbox_none must not exit, it needs to return.
Diffstat (limited to 'executor/common_test.h')
-rw-r--r--executor/common_test.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/executor/common_test.h b/executor/common_test.h
index e0390eb68..9e3dcd6ff 100644
--- a/executor/common_test.h
+++ b/executor/common_test.h
@@ -86,6 +86,6 @@ static void loop();
static int do_sandbox_none(void)
{
loop();
- doexit(0);
+ return 0;
}
#endif