We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e2c3fda commit 3f4e6d8Copy full SHA for 3f4e6d8
1 file changed
_scripts/uninstall.sh
@@ -2,25 +2,10 @@
2
set -eo pipefail
3
shopt -s expand_aliases
4
5
-ip link show cilium_host > /dev/null 2>&1
6
-if [[ $? -eq 0 ]] ; then
7
- ip link delete cilium_host
8
-fi
9
-
10
-ip link show cilium_net > /dev/null 2>&1
11
12
- ip link delete cilium_net
13
14
15
-ip link show cilium_vxlan > /dev/null 2>&1
16
17
- ip link delete cilium_vxlan
18
19
20
-ip link show nodelocaldns > /dev/null 2>&1
21
22
- ip link delete nodelocaldns
23
+ip link delete cilium_host > /dev/null 2>&1 || true
+ip link delete cilium_net > /dev/null 2>&1 || true
+ip link delete cilium_vxlan > /dev/null 2>&1 || true
+ip link delete nodelocaldns > /dev/null 2>&1 || true
24
25
/usr/local/bin/k3s-killall.sh
26
0 commit comments