summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2020-11-25 18:42:07 +0100
committerPau Espin Pedrol <pespin@sysmocom.de>2020-11-25 18:42:09 +0100
commit581cfbeba985d078e80c8ec330f79396201fdb6f (patch)
tree498bc942ff34676cc077ab8db18b5bc2795d1695
parentc6fb8022529995cff3bfe0bee2def68cb9a453dd (diff)
trxcon: Handle signal SIGABRT
The signal handler was coded as if it was handling SIGABRT, but the signal handler was not overwritten so it is actually used. Change-Id: I5c597f3410fc97be138db6f3976df59f393819b6
-rw-r--r--src/host/trxcon/trxcon.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/host/trxcon/trxcon.c b/src/host/trxcon/trxcon.c
index 8efa6a7b..e14e2c90 100644
--- a/src/host/trxcon/trxcon.c
+++ b/src/host/trxcon/trxcon.c
@@ -276,6 +276,7 @@ int main(int argc, char **argv)
/* Setup signal handlers */
signal(SIGINT, &signal_handler);
+ signal(SIGABRT, &signal_handler);
signal(SIGUSR1, &signal_handler);
signal(SIGUSR2, &signal_handler);
osmo_init_ignore_signals();