summaryrefslogtreecommitdiffstats
path: root/stdlib/std_exit.ml
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/std_exit.ml')
-rw-r--r--stdlib/std_exit.ml4
1 files changed, 2 insertions, 2 deletions
diff --git a/stdlib/std_exit.ml b/stdlib/std_exit.ml
index 5debeac6d..e53eadfd6 100644
--- a/stdlib/std_exit.ml
+++ b/stdlib/std_exit.ml
@@ -11,6 +11,6 @@
(* $Id$ *)
-(* Ensure that [exit] is called at the end of every program *)
+(* Ensure that [at_exit] functions are called at the end of every program *)
-let _ = exit 0
+let _ = do_at_exit()