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
This commit is contained in:
Daniel Mack 2015-06-05 14:59:36 +02:00
parent 5e29ba7a5c
commit b4aa82f168

View file

@ -60,7 +60,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 },