Replace some exit(n) calls with stg_exit(n); fixes trac #4445
[ghc-hetmet.git] / rts / Linker.c
index 4b984da..1614a1a 100644 (file)
@@ -1109,7 +1109,7 @@ static void ghciInsertStrHashTable ( char* obj_name,
       (char*)key,
       obj_name
    );
-   exit(1);
+   stg_exit(1);
 }
 /* -----------------------------------------------------------------------------
  * initialize the object linker