]> git.ipfire.org Git - thirdparty/ipset.git/commitdiff
Do not return with error at 'make modules_install' when modules are not loaded
authorJozsef Kadlecsik <kadlec@netfilter.org>
Thu, 31 Oct 2019 11:12:31 +0000 (12:12 +0100)
committerJozsef Kadlecsik <kadlec@netfilter.org>
Thu, 31 Oct 2019 11:12:31 +0000 (12:12 +0100)
The issue was reported by Oskar Berggren.

Makefile.am

index 8d718e1ca67638b12e81acc78f6b8d537df7248f..eab32ee92d353190f12f7f677ab3c59049da1f53 100644 (file)
@@ -73,7 +73,7 @@ if WITH_KMOD
        ${MAKE} -C $(KBUILD_OUTPUT) M=$$PWD/kernel/net \
                        KDIR=$$PWD/kernel modules_install
        @modinfo -b ${INSTALL_MOD_PATH} ip_set_hash_ip | ${GREP} /extra/ >/dev/null || echo "$$DEPMOD_WARNING"
-       @lsmod | ${GREP} '^ip_set' >/dev/null && echo "$$MODULE_WARNING"
+       @lsmod | ${GREP} '^ip_set' >/dev/null && echo "$$MODULE_WARNING"; true
 else
        @echo Skipping kernel modules due to --with-kmod=no
 endif