From e75834f7465214a70b75556ffcb09063105bac7c Mon Sep 17 00:00:00 2001 From: Florent Daigniere Date: Thu, 9 Nov 2023 10:20:42 +0100 Subject: [PATCH] Update system.py 143 is the standard following SIGTERM --- core/base/libs/socrate/socrate/system.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/base/libs/socrate/socrate/system.py b/core/base/libs/socrate/socrate/system.py index ec94967c..a03d36e5 100644 --- a/core/base/libs/socrate/socrate/system.py +++ b/core/base/libs/socrate/socrate/system.py @@ -73,7 +73,7 @@ def _is_compatible_with_hardened_malloc(): def sigterm_handler(_signo, _stack_frame): log.error("Received SIGTERM, terminating.") - sys.exit(0) + sys.exit(143) def set_env(required_secrets=[], log_filters=[]): if log_filters: