From 0ff263a02ae80a62c8248e9ffba2369058ee19d8 Mon Sep 17 00:00:00 2001 From: Ariadne Conill Date: Tue, 25 Aug 2020 08:09:31 -0600 Subject: [PATCH] bridge: don't generate dependencies for bridge-ports none --- executor-scripts/stub/bridge | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/executor-scripts/stub/bridge b/executor-scripts/stub/bridge index ee1a442..5eee08c 100755 --- a/executor-scripts/stub/bridge +++ b/executor-scripts/stub/bridge @@ -1,4 +1,8 @@ #!/bin/sh case "$PHASE" in -depend) echo "$IF_BRIDGE_PORTS" ;; +depend) + if [ "$IF_BRIDGE_PORTS" != "none" ]; then + echo "$IF_BRIDGE_PORTS" + fi + ;; esac