X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Frts%2FRtsStartup.c;fp=ghc%2Frts%2FRtsStartup.c;h=147de7b857f85127aaa9933ba0a3eefceec384f9;hb=4ae1107dd5a839496cdb385daf14afee8360352c;hp=32c73f43c68ace7b501b393bcc7a3fe3ddf2c3b5;hpb=33273cefac6b8a82222893b69e3e1f54052f282c;p=ghc-hetmet.git diff --git a/ghc/rts/RtsStartup.c b/ghc/rts/RtsStartup.c index 32c73f4..147de7b 100644 --- a/ghc/rts/RtsStartup.c +++ b/ghc/rts/RtsStartup.c @@ -313,7 +313,8 @@ void hs_exit(void) { if (hs_init_count <= 0) { - barf("too many hs_exit()s"); + errorBelch("warning: too many hs_exit()s"); + return; } hs_init_count--; if (hs_init_count > 0) {