summaryrefslogtreecommitdiff
path: root/src/network
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2014-09-06 22:16:20 +0200
committerTom Gundersen <teg@jklm.no>2014-09-08 15:07:51 +0200
commit1eb808756e3e4cc724ba17725a8513e562551c21 (patch)
tree38e8cbf1445423d42c72778a89336f740598400e /src/network
parent6f44acfb48d4b58565d4c14714d082997389afd3 (diff)
networkd: netdev - failing to create a netdev is not fatal, just fail that netdev
Diffstat (limited to 'src/network')
-rw-r--r--src/network/networkd-netdev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/networkd-netdev.c b/src/network/networkd-netdev.c
index 1a436f75df..fd1f51ec56 100644
--- a/src/network/networkd-netdev.c
+++ b/src/network/networkd-netdev.c
@@ -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: