changeset 39036:9ce039b7595b

(shut_down_emacs): Fix last change.
author Gerd Moellmann <gerd@gnu.org>
date Thu, 30 Aug 2001 13:36:24 +0000
parents 217755d3b319
children e178a1e23722
files src/emacs.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/emacs.c	Thu Aug 30 13:35:28 2001 +0000
+++ b/src/emacs.c	Thu Aug 30 13:36:24 2001 +0000
@@ -1914,7 +1914,7 @@
 
   /* Do this only if terminating normally, we want glyph matrices
      etc. in a core dump.  */
-  if (sig && sig != SIGTERM)
+  if (sig == 0 || sig == SIGTERM)
     {
       check_glyph_memory ();
       check_message_stack ();