From f3e95d0d3fa7c03142e76f846ea928703f22d500 Mon Sep 17 00:00:00 2001 From: Oliver Walsh Date: Sat, 20 Nov 2021 01:06:07 +0000 Subject: [PATCH] Hardcode RT signal numbers (#338) Looking up SIGRTMIN/SIGRTMAX isn't portable. Hardcode the Linux signal number instead. Fixes issue #337. --- plugins/module_utils/podman/common.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/module_utils/podman/common.py b/plugins/module_utils/podman/common.py index 93d0d19..d10d950 100644 --- a/plugins/module_utils/podman/common.py +++ b/plugins/module_utils/podman/common.py @@ -123,8 +123,8 @@ _signal_map = { "PROF": 27, "PWR": 30, "QUIT": 3, - "RTMAX": int(signal.SIGRTMAX), - "RTMIN": int(signal.SIGRTMIN), + "RTMAX": 64, + "RTMIN": 34, "SEGV": 11, "STKFLT": 16, "STOP": 19,