]> git.meshlink.io Git - meshlink/commitdiff
Don't fail to start MeshLink if some host config files couldn't be read.
authorGuus Sliepen <guus@meshlink.io>
Tue, 5 Nov 2019 18:33:04 +0000 (19:33 +0100)
committerGuus Sliepen <guus@meshlink.io>
Tue, 5 Nov 2019 18:33:04 +0000 (19:33 +0100)
src/net_setup.c

index e1db743a3c3f3acc484b5c975c0f00599c4dd806..aeceb1f892d00fb58789fc25415674aea34b845c 100644 (file)
@@ -402,10 +402,7 @@ bool setup_myself(meshlink_handle_t *mesh) {
 
        graph(mesh);
 
-       if(!config_scan_all(mesh, "current", "hosts", load_node, NULL)) {
-               meshlink_errno = MESHLINK_ESTORAGE;
-               return false;
-       }
+       config_scan_all(mesh, "current", "hosts", load_node, NULL);
 
        /* Open sockets */