about summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
Diffstat (limited to 'Completion')
-rw-r--r--Completion/Unix/Type/_net_interfaces2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Unix/Type/_net_interfaces b/Completion/Unix/Type/_net_interfaces
index 682d8c5a8..666287259 100644
--- a/Completion/Unix/Type/_net_interfaces
+++ b/Completion/Unix/Type/_net_interfaces
@@ -20,7 +20,7 @@ case $OSTYPE in
   local PATH=$PATH
   PATH=/sbin:$PATH
   intf=( $(ifconfig -a 2>/dev/null | sed -n 's/^\([^ 	:]*\).*/\1/p') )
-  if [[${#intf} -eq 0 &&  -d /proc/sys/net/ipv4/conf ]]; then
+  if [[ ${#intf} -eq 0 && -d /proc/sys/net/ipv4/conf ]]; then
     # On linux we used to use the following as the default.
     # However, we now use ifconfig since it finds additional devices such
     # as tunnels.  So only do this if that didn't work.