summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-scripts/net.modules.d/bonding')
-rw-r--r--net-scripts/net.modules.d/bonding4
1 files changed, 1 insertions, 3 deletions
diff --git a/net-scripts/net.modules.d/bonding b/net-scripts/net.modules.d/bonding
index 3e629c8..62431aa 100644
--- a/net-scripts/net.modules.d/bonding
+++ b/net-scripts/net.modules.d/bonding
@@ -58,9 +58,7 @@ bonding_pre_start() {
# Check that our slaves exist
for s in "${slaves[@]}" ; do
- interface_exists "${s}" && continue
- ewarn "interface ${s} does not exist"
- return 1
+ interface_exists "${s}" true || return 1
done
# Must force the slaves to a particular state before adding them