kmod-setup: don't warn when ipv6 can't be loaded

Not having IPv6 is a valid setup. Let's not print a warning in that
case.

Addresses:

  https://bugs.freedesktop.org/show_bug.cgi?id=87475

(cherry picked from commit b4aa82f168)
This commit is contained in:
Daniel Mack
2015-07-07 07:20:46 -04:00
committed by Zbigniew Jędrzejewski-Szmek
parent 2e66500145
commit 7a13679775
+1 -1
View File
@@ -66,7 +66,7 @@ int kmod_setup(void) {
{ "autofs4", "/sys/class/misc/autofs", true, NULL },
/* early configure of ::1 on the loopback device */
{ "ipv6", "/sys/module/ipv6", true, NULL },
{ "ipv6", "/sys/module/ipv6", false, NULL },
/* this should never be a module */
{ "unix", "/proc/net/unix", true, NULL },