chiark / gitweb /
networkd: netdev - failing to create a netdev is not fatal, just fail that netdev
authorTom Gundersen <teg@jklm.no>
Sat, 6 Sep 2014 20:16:20 +0000 (22:16 +0200)
committerTom Gundersen <teg@jklm.no>
Mon, 8 Sep 2014 13:07:51 +0000 (15:07 +0200)
src/network/networkd-netdev.c

index 1a436f7..fd1f51e 100644 (file)
@@ -721,7 +721,7 @@ static int netdev_load_one(Manager *manager, const char *filename) {
         case NETDEV_CREATE_INDEPENDENT:
                 r = netdev_create(netdev, NULL, NULL);
                 if (r < 0)
-                        return r;
+                        return 0;
 
                 break;
         default: