diff options
Diffstat (limited to 'etc')
-rw-r--r-- | etc/bash_completion.d/10vyatta-op | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/etc/bash_completion.d/10vyatta-op b/etc/bash_completion.d/10vyatta-op index 66154f8..7311f6a 100644 --- a/etc/bash_completion.d/10vyatta-op +++ b/etc/bash_completion.d/10vyatta-op @@ -429,9 +429,7 @@ _vyatta_pipe_completion () return 0 } -if [ -S /var/run/vyatta/quagga/zebra.vty ] ; then - declare -x -r _vyatta_vtysh=vyatta-vtysh -elif [ ! -S /var/run/quagga/zebra.vty ] ; then +if [ ! -S /var/run/quagga/zebra.vty ] ; then declare -x -r _vyatta_vtysh=/usr/bin/vtysh else declare -x -r _vyatta_vtysh="echo \"Can't connect with zebra daemon to run: vtysh \"" |