dexter has uploaded this change for review. ( https://gerrit.osmocom.org/13296


Change subject: main: remove wrong call to oml_fail_rep() on SIGUSR1/2 and 
SIGABRT
......................................................................

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
---
M src/common/main.c
1 file changed, 0 insertions(+), 3 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/96/13296/1

diff --git a/src/common/main.c b/src/common/main.c
index 3a53813..9575f57 100644
--- a/src/common/main.c
+++ b/src/common/main.c
@@ -192,9 +192,6 @@
        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:

--
To view, visit https://gerrit.osmocom.org/13296
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I99e637496afff2530425b89c6e9befc76db24906
Gerrit-Change-Number: 13296
Gerrit-PatchSet: 1
Gerrit-Owner: dexter <pma...@sysmocom.de>

Reply via email to