Improve fatal signal handling
commit202567dc12618dd1b7900c6d8c4c829dc4ece130
authorUli Schlachter <psychon@znc.in>
Fri, 7 Mar 2014 09:51:39 +0000 (7 10:51 +0100)
committerUli Schlachter <psychon@znc.in>
Fri, 7 Mar 2014 09:51:39 +0000 (7 10:51 +0100)
tree786dc0baaf00e8d488aeea3b99890622f4d19bf6
parent4717e89984378ebbf43def1ba929095154cdbf57
Improve fatal signal handling

First, we reset the signal handler back to the default one when a fatal signal
is received. This should make sure that we never get into an endless loop where
the signal handler causes the signal to happen again.

Then this commit also makes awesome print a backtrace on more signals than
before. Crashing with a backtrace is always better than without. ;-)

Signed-off-by: Uli Schlachter <psychon@znc.in>
awesome.c