diff options
Diffstat (limited to 'completions/ifup')
-rw-r--r-- | completions/ifup | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/completions/ifup b/completions/ifup index fee87d6b..fcd34994 100644 --- a/completions/ifup +++ b/completions/ifup @@ -7,7 +7,7 @@ _ifupdown() local cur prev words cword _init_completion || return - if [ $cword -eq 1 ]; then + if [[ $cword -eq 1 ]]; then _configured_interfaces COMPREPLY=( $(compgen -W '${COMPREPLY[@]}' -- "$cur") ) fi |