summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJozsef Kadlecsik <kadlec@netfilter.org>2019-10-31 12:12:31 +0100
committerJozsef Kadlecsik <kadlec@netfilter.org>2019-10-31 12:12:31 +0100
commit24a47c1db56ef6fd6fd1a488678deb5e52ede05b (patch)
tree534b8e064bfd6a675c542804243b2b586421af6b
parentdc3270bc3988e24cdd203d8ebc83cc5e1d7e0385 (diff)
Do not return with error at 'make modules_install' when modules are not loaded
The issue was reported by Oskar Berggren.
-rw-r--r--Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 8d718e1..eab32ee 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -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