diff options
author | UnicronNL <kim.sidney@gmail.com> | 2018-09-14 23:12:48 +0200 |
---|---|---|
committer | UnicronNL <kim.sidney@gmail.com> | 2018-09-14 23:12:48 +0200 |
commit | ce0714be92aa5ff297906a52303ca4085c3da81e (patch) | |
tree | 65a5995bec368ea55cbca87ed83a25f427ca1f89 /etc/bash_completion.d | |
parent | 0bf2572898cd29ba36c467e1b952df292a6733f7 (diff) | |
download | vyatta-op-ce0714be92aa5ff297906a52303ca4085c3da81e.tar.gz vyatta-op-ce0714be92aa5ff297906a52303ca4085c3da81e.zip |
use double square brackets
Diffstat (limited to 'etc/bash_completion.d')
-rw-r--r-- | etc/bash_completion.d/vyatta-op | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/bash_completion.d/vyatta-op b/etc/bash_completion.d/vyatta-op index a591b33..8064c94 100644 --- a/etc/bash_completion.d/vyatta-op +++ b/etc/bash_completion.d/vyatta-op @@ -37,7 +37,7 @@ test -z "$VYATTA_PAGER" && \ _vyatta_op_do_key_bindings () { - if [ "$SHELL" != "/bin/vbash" && "$SHELL" != "/sbin/radius_shell" ]; then + if [[ "$SHELL" != "/bin/vbash" && "$SHELL" != "/sbin/radius_shell" ]]; then # only do bindings if vbash and radius_shell return fi |