chiark / gitweb /
networkd: fix creation of runtime dirs at startup
[elogind.git] / src / network / networkd-link.c
index 39cef2254cb202cbd3d55c87ed972971ac51ce61..2650f863575b92c23e0f43e01798248ce8432b6a 100644 (file)
@@ -1367,10 +1367,6 @@ int link_save(Link *link) {
         assert(link);
         assert(link->state_file);
 
-        r = mkdir_safe_label("/run/systemd/network/links", 0755, 0, 0);
-        if (r < 0)
-                goto finish;
-
         r = fopen_temporary(link->state_file, &f, &temp_path);
         if (r < 0)
                 goto finish;