link exectutor: Don't re-create dummy interface when present.
Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
This commit is contained in:
parent
c6faf452b9
commit
fef7c55270
1 changed files with 2 additions and 0 deletions
|
@ -36,6 +36,8 @@ create)
|
|||
echo "Interface ${IFACE} exists but is of type ${iface_type} instead of dummy"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
exit 0
|
||||
fi
|
||||
|
||||
${MOCK} ip link add "${IFACE}" type dummy
|
||||
|
|
Loading…
Reference in a new issue