fix some exit situations, that was badly done by SIGUSR1 handler

This commit is contained in:
laurent
2018-09-05 17:03:19 +02:00
parent c83fc1b544
commit abbffef015
13 changed files with 20 additions and 18 deletions
+3
View File
@@ -285,4 +285,7 @@ typedef struct protocol_ctxt_s {
(CTXT_Pp)->rnti
#define CHECK_CTXT_ARGS(CTXT_Pp)
#define exit_fun(msg) exit_function(__FILE__,__FUNCTION__,__LINE__,msg)
void exit_function(const char* file, const char* function, const int line, const char* s);
#endif
@@ -68,7 +68,7 @@ void handle_reconfiguration(mid_t mod_id)
if (restart_L1L2(mod_id) < 0) {
LOG_F(ENB_APP, "can not restart, killing lte-softmodem\n");
itti_terminate_tasks(TASK_PHY_ENB);
exit_fun("can not restart L1L2, killing lte-softmodem");
return;
}