From ce0714be92aa5ff297906a52303ca4085c3da81e Mon Sep 17 00:00:00 2001 From: UnicronNL Date: Fri, 14 Sep 2018 23:12:48 +0200 Subject: use double square brackets --- etc/bash_completion.d/vyatta-op | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'etc/bash_completion.d') 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 -- cgit v1.2.3