summaryrefslogtreecommitdiff
path: root/src/network/networkd-manager.c
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2014-03-13 19:02:28 +0100
committerTom Gundersen <teg@jklm.no>2014-03-14 12:44:17 +0100
commit0ea51a1129b9984a3c6d96cef1b0e33c99b5e9cf (patch)
treea83f8b579a15e9deda17f2cc94c3bf55cd2b8fa7 /src/network/networkd-manager.c
parent2a1763edfbdb95be643d595afbcc64f3fc092e46 (diff)
networkd: fix creation of runtime dirs at startup
This allows us to drop the repeated attempted creations of the runtime dirs during runtime.
Diffstat (limited to 'src/network/networkd-manager.c')
-rw-r--r--src/network/networkd-manager.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/network/networkd-manager.c b/src/network/networkd-manager.c
index f41914f880..8c2f5efbd3 100644
--- a/src/network/networkd-manager.c
+++ b/src/network/networkd-manager.c
@@ -407,10 +407,6 @@ int manager_update_resolv_conf(Manager *m) {
assert(m);
- r = mkdir_safe_label("/run/systemd/network", 0755, 0, 0);
- if (r < 0)
- return r;
-
r = fopen_temporary("/run/systemd/network/resolv.conf", &f, &temp_path);
if (r < 0)
return r;