mirror of
git://git.code.sf.net/p/zsh/code
synced 2024-09-25 21:40:54 +02:00
fix typo
This commit is contained in:
parent
8a411bf1c9
commit
9b1663b531
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user