ref: 97ee58190e3effbf4dfafdde9002b66c5593b47b
parent: f3b095597e0bed7fa54e92d8d37dc9f98c0e652d
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Mon Feb 19 16:58:07 EST 2018
[ar] Remove direct call to cleanup() The signal handler was calling to exit(), so it means that the reguistered functions with atexit() are going to be called anyway, and this double call can generate some problems, so it is better to avoid it.
--- a/ar/main.c
+++ b/ar/main.c
@@ -44,7 +44,6 @@
static void
sigfun(int signum)
{
- cleanup();
exit(1);
}