diff options
Diffstat (limited to 'src/emacs.c')
-rw-r--r-- | src/emacs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emacs.c b/src/emacs.c index 47beb426a15..924eeee8cf9 100644 --- a/src/emacs.c +++ b/src/emacs.c @@ -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 (); |