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:
vsc 2002-08-16 19:56:43 +00:00
parent 0c161bdca4
commit 8d1582433a
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}