aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPhilipp Maier <pmaier@sysmocom.de>2019-03-18 10:14:52 +0100
committerHarald Welte <laforge@gnumonks.org>2019-03-27 11:10:47 +0000
commit891ba1568ad595c92bd885d417e34a78272f664f (patch)
treea5dd7bad688131560f4e3ac7928a7ad56dfbf12c /src
parentc49df5d144ab0a70a92eff2fc5b83f53c7d23faa (diff)
main: remove wrong call to oml_fail_rep() on SIGUSR1/2 and SIGABRT
SIGUSR1/2 and SIGABRT should not trigger a failure event report on OML since we only use it to get an intermediate talloc report. (In case of SIGUSR1/2 without leaving the process.) Change-Id: I99e637496afff2530425b89c6e9befc76db24906
Diffstat (limited to 'src')
-rw-r--r--src/common/main.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/common/main.c b/src/common/main.c
index 3a538134..9575f57c 100644
--- a/src/common/main.c
+++ b/src/common/main.c
@@ -192,9 +192,6 @@ static void signal_handler(int signal)
case SIGABRT:
case SIGUSR1:
case SIGUSR2:
- oml_fail_rep(OSMO_EVT_CRIT_PROC_STOP,
- "BTS: signal %d (%s) received", signal,
- strsignal(signal));
talloc_report_full(tall_bts_ctx, stderr);
break;
default: