summaryrefslogtreecommitdiff
path: root/version.c
diff options
context:
space:
mode:
Diffstat (limited to 'version.c')
-rw-r--r--version.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/version.c b/version.c
index 6caf912..4c7b1ab 100644
--- a/version.c
+++ b/version.c
@@ -96,12 +96,10 @@ ruby_show_version(void)
fflush(stdout);
}
-/*! Prints the copyright notice of the CRuby interpreter to stdout and \em exits
- * this process successfully.
- */
+/*! Prints the copyright notice of the CRuby interpreter to stdout. */
void
ruby_show_copyright(void)
{
PRINT(copyright);
- exit(EXIT_SUCCESS);
+ fflush(stdout);
}