summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorJohn Southworth <john.southworth@vyatta.com>2011-08-01 15:43:13 -0500
committerJohn Southworth <john.southworth@vyatta.com>2011-08-01 15:43:13 -0500
commitd1425b3cb28509e31fc5daa0cf734e389ee22250 (patch)
treedaece43df425d6353704d55c76edaec9bdf36970 /etc
parent6c424e3ac1689473285a0b0ccedd6ab7eb6cfbbb (diff)
downloadvyatta-cfg-d1425b3cb28509e31fc5daa0cf734e389ee22250.tar.gz
vyatta-cfg-d1425b3cb28509e31fc5daa0cf734e389ee22250.zip
Fix incorrect comp_words check in previous commit. My original implementation used config.boot instead of saved
Diffstat (limited to 'etc')
-rwxr-xr-xetc/bash_completion.d/vyatta-cfg2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/bash_completion.d/vyatta-cfg b/etc/bash_completion.d/vyatta-cfg
index 7d184f2..c16873f 100755
--- a/etc/bash_completion.d/vyatta-cfg
+++ b/etc/bash_completion.d/vyatta-cfg
@@ -516,7 +516,7 @@ vyatta_compare_complete ()
print_commit_log
COMPREPLY=( "" " " )
elif [ $COMP_CWORD -eq 2 -a -z "${COMP_WORDS[2]}" ]; then
- if [[ "${COMP_WORDS[1]}" == "config.boot" ]]; then
+ if [[ "${COMP_WORDS[1]}" == "saved" ]]; then
echo "Possible completions:"
echo -e " <enter>\tCompare working and saved configurations"
COMPREPLY=( "" " " )