summaryrefslogtreecommitdiffstats
path: root/src/connections/tunnel
diff options
context:
space:
mode:
Diffstat (limited to 'src/connections/tunnel')
-rw-r--r--src/connections/tunnel2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/connections/tunnel b/src/connections/tunnel
index 613cc67..67c7d9d 100644
--- a/src/connections/tunnel
+++ b/src/connections/tunnel
@@ -4,7 +4,7 @@
tunnel_up() {
load_profile "$1"
- if [ -e "/sys/class/net/$INTERFACE" ]; then
+ if [[ -e "/sys/class/net/$INTERFACE" ]]; then
report_fail "Interface $INTERFACE already exists."
exit 1
else