need to exit (and therefore restart HSS) on FD_LOG_FATAL (#1069)

This commit is contained in:
Spencer Sevilla 2021-06-23 20:44:24 -07:00 committed by GitHub
parent 997554bbb7
commit e1e3f254e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -136,6 +136,7 @@ static void diam_log_func(int printlevel, const char *format, va_list ap)
break;
case FD_LOG_FATAL:
diam_log_printf(OGS_LOG_FATAL, "%s\n", buffer);
exit(1);
break;
default:
diam_log_printf(OGS_LOG_ERROR, "[%d] %s\n", printlevel, buffer);