servo: net: actually assert that ovpns exists if we fail to add it
This commit is contained in:
parent
1d494513a9
commit
c6a1f310a0
|
@ -87,7 +87,7 @@ in
|
|||
}
|
||||
];
|
||||
preSetup = ''
|
||||
${ip} netns add ovpns || echo "ovpns already exists"
|
||||
${ip} netns add ovpns || (test -e /run/netns/ovpns && echo "ovpns already exists")
|
||||
'';
|
||||
postShutdown = ''
|
||||
${in-ns} ip link del ovpns-veth-b || echo "couldn't delete ovpns-veth-b"
|
||||
|
|
Loading…
Reference in New Issue