summary refs log tree commit diff
path: root/signal/tst-signal.c
diff options
context:
space:
mode:
Diffstat (limited to 'signal/tst-signal.c')
-rw-r--r--signal/tst-signal.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/signal/tst-signal.c b/signal/tst-signal.c
index ef792e8cbf..6d3178792a 100644
--- a/signal/tst-signal.c
+++ b/signal/tst-signal.c
@@ -39,5 +39,6 @@ main (void)
     }
 
   puts ("Got a signal.  Test succeeded.");
-  exit (EXIT_SUCCESS);
+
+  return EXIT_SUCCESS;
 }