summaryrefslogtreecommitdiff
path: root/etc/bash_completion.d/vyatta-op
diff options
context:
space:
mode:
authorUnicronNL <kim.sidney@gmail.com>2018-09-14 23:12:48 +0200
committerUnicronNL <kim.sidney@gmail.com>2018-09-14 23:12:48 +0200
commitce0714be92aa5ff297906a52303ca4085c3da81e (patch)
tree65a5995bec368ea55cbca87ed83a25f427ca1f89 /etc/bash_completion.d/vyatta-op
parent0bf2572898cd29ba36c467e1b952df292a6733f7 (diff)
downloadvyatta-op-ce0714be92aa5ff297906a52303ca4085c3da81e.tar.gz
vyatta-op-ce0714be92aa5ff297906a52303ca4085c3da81e.zip
use double square brackets
Diffstat (limited to 'etc/bash_completion.d/vyatta-op')
-rw-r--r--etc/bash_completion.d/vyatta-op2
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