fix bad exit when failing to allocate memory at boot
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@573 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
parent
0c161bdca4
commit
8d1582433a
@ -196,7 +196,7 @@ exit_yap (int value)
|
||||
#if defined(YAPOR)
|
||||
unmap_memory();
|
||||
#endif /* YAPOR || TABLING */
|
||||
if (PrologMode != BootMode)
|
||||
if (! (PrologMode & BootMode) )
|
||||
ShutdownLoadForeign();
|
||||
exit(value);
|
||||
}
|
||||
|
Reference in New Issue
Block a user