trafgen: Exit gracefully for all possible termination signals
commit752a83809f667c35cd4e8e84c7b4f380c0afd9b0
authorTobias Klauser <tklauser@distanz.ch>
Sat, 22 Feb 2014 10:19:59 +0000 (22 11:19 +0100)
committerTobias Klauser <tklauser@distanz.ch>
Sat, 22 Feb 2014 10:19:59 +0000 (22 11:19 +0100)
tree39ae611ac3b36aa7edbfbced29fe19db2d183404
parent064f4eddf1facae6eb50a7d928c6b049ee4231bf
trafgen: Exit gracefully for all possible termination signals

Handle all termination signals that we're allowed to handle (SIGKILL
can't be handled) in order to exit gracefully in any regular termination
case.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
trafgen.c