]> git.eshelyaron.com Git - emacs.git/commitdiff
(shut_down_emacs): Fix last change.
authorGerd Moellmann <gerd@gnu.org>
Thu, 30 Aug 2001 13:36:24 +0000 (13:36 +0000)
committerGerd Moellmann <gerd@gnu.org>
Thu, 30 Aug 2001 13:36:24 +0000 (13:36 +0000)
src/emacs.c

index 47beb426a15ecf3f2c6d8fbfa87fcaf2268953ae..924eeee8cf945e6e8d5e44fe614875c9410bfa2b 100644 (file)
@@ -1914,7 +1914,7 @@ shut_down_emacs (sig, no_x, stuff)
 
   /* 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 ();