]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Fix --enable-secomp
authorRoy Marples <roy@marples.name>
Thu, 20 Jul 2023 09:48:37 +0000 (10:48 +0100)
committerRoy Marples <roy@marples.name>
Thu, 20 Jul 2023 09:48:37 +0000 (10:48 +0100)
configure

index d959668838d3fbb953c2b77e7b0a4376ff13bbdf..4fb29b06f19ea3f03d29ea123b88ea226d6b60f2 100755 (executable)
--- a/configure
+++ b/configure
@@ -590,7 +590,7 @@ if [ "$PRIVSEP" = yes ]; then
        case "$OS" in
        linux*)
                         echo "PRIVSEP_SRCS+=   privsep-linux.c" >>$CONFIG_MK
-                        if [ -n "$SECCOMP" ] && [ "$SECCOMP" != no ]; then
+                        if [ -n "$SECCOMP" ] && [ "$SECCOMP" = no ]; then
                                 echo "#define  DISABLE_SECCOMP" >>$CONFIG_H
                         fi
                         ;;