summaryrefslogtreecommitdiff
path: root/etc/bash_completion.d/vyatta-op
diff options
context:
space:
mode:
authorJohn Southworth <john.southworth@vyatta.com>2011-08-09 18:31:31 -0500
committerJohn Southworth <john.southworth@vyatta.com>2011-08-09 18:31:31 -0500
commit1466a42dec3732f54e839ec823c75801225a747e (patch)
tree4370c50bd9672d59f892d778c4e2049f0123c5e0 /etc/bash_completion.d/vyatta-op
parent2095354c2fa8142be42d9bdf03cec5a0b878685a (diff)
downloadvyatta-op-1466a42dec3732f54e839ec823c75801225a747e.tar.gz
vyatta-op-1466a42dec3732f54e839ec823c75801225a747e.zip
Silence another keybinding error when running from config mode
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 c1aa50d..0573a67 100644
--- a/etc/bash_completion.d/vyatta-op
+++ b/etc/bash_completion.d/vyatta-op
@@ -47,7 +47,7 @@ _vyatta_op_do_key_bindings ()
nullglob_save=$(shopt -p nullglob)
shopt -u nullglob
bind_cmds=$(grep '^bind .* # vyatta key binding$' $HOME/.bashrc)
- eval $bind_cmds
+ eval $bind_cmds 2> /dev/null
eval $nullglob_save
}