summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Hindoe Paaboel Andersen <phomes@gmail.com>2014-04-22 21:45:17 +0200
committerThomas Hindoe Paaboel Andersen <phomes@gmail.com>2014-04-22 21:45:17 +0200
commitcc544d5fb4c85e5645e3db7fbb34474674a3ac98 (patch)
treed1de20a6bef2263b1b2eed1969b992e20ffc3d0d
parentdf9aa406e8e32a2fb3b2a4b42d5871ef75a32ed8 (diff)
networkd: link - add missing curly brackets
introduced in 1e9be60bbabe179f5233217384f1daec757c17c7
-rw-r--r--src/network/networkd-link.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/network/networkd-link.c b/src/network/networkd-link.c
index fb873a9089..310b9f54f9 100644
--- a/src/network/networkd-link.c
+++ b/src/network/networkd-link.c
@@ -1509,9 +1509,11 @@ static int link_configure(Link *link) {
}
if (link_has_carrier(link->flags, link->operstate))
+ {
r = link_acquire_conf(link);
if (r < 0)
return r;
+ }
return link_enter_enslave(link);
}