From eef084b561314478f2805f5462907622ab7eb5d6 Mon Sep 17 00:00:00 2001 From: Caleb Xu Date: Fri, 15 May 2026 09:29:01 -0400 Subject: [PATCH] seccomp: fix inverted notify socket setup logic In 3a8c9138c84f391e5bc1a544230a2b766d50643c, the conditional in src/conmon.c was inadvertently reversed when the syntax was changed. Signed-off-by: Caleb Xu --- src/conmon.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/conmon.c b/src/conmon.c index 1b225d41..a68b5f9f 100644 --- a/src/conmon.c +++ b/src/conmon.c @@ -180,11 +180,11 @@ int main(int argc, char *argv[]) if (opt_seccomp_notify_socket != NULL) { #ifdef USE_SECCOMP - pexit("seccomp support not present"); -#else if (opt_seccomp_notify_plugins == NULL) pexit("seccomp notify socket specified without any plugin"); seccomp_listener = setup_seccomp_socket(opt_seccomp_notify_socket); +#else + pexit("seccomp support not present"); #endif }