diff options
Diffstat (limited to 'stdlib/tst-setcontext.c')
-rw-r--r-- | stdlib/tst-setcontext.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/stdlib/tst-setcontext.c b/stdlib/tst-setcontext.c index beec23a..51296f7 100644 --- a/stdlib/tst-setcontext.c +++ b/stdlib/tst-setcontext.c @@ -150,7 +150,10 @@ main (void) if (getcontext (&ctx[1]) != 0) { if (errno == ENOSYS) - exit (0); + { + back_in_main = 1; + exit (0); + } printf ("%s: getcontext: %m\n", __FUNCTION__); exit (1); |