From 36fe61d8e78c84251b91b715dbcbc03ada80caef Mon Sep 17 00:00:00 2001 From: Maximilian Wilhelm Date: Wed, 26 Aug 2020 22:41:32 +0200 Subject: [PATCH] link executor: Unify code paths. Signed-off-by: Maximilian Wilhelm --- executor-scripts/linux/link | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/executor-scripts/linux/link b/executor-scripts/linux/link index 5cae17d..7fbad75 100755 --- a/executor-scripts/linux/link +++ b/executor-scripts/linux/link @@ -55,11 +55,9 @@ up|down) ${MOCK} ip link $ADD_DEL link "$IF_VLAN_RAW_DEVICE" name "$IFACE" type vlan id "$IF_VLAN_ID" [ "$PHASE" = "down" ] && exit 0 + fi ${MOCK} ip link set $PHASE dev $IFACE $IF_LINK_OPTIONS - else - ${MOCK} ip link set $PHASE dev $IFACE $IF_LINK_OPTIONS - fi ;; depend) if is_vlan; then