summaryrefslogtreecommitdiff
path: root/etc/bash_completion.d
diff options
context:
space:
mode:
Diffstat (limited to 'etc/bash_completion.d')
-rwxr-xr-xetc/bash_completion.d/20vyatta-cfg5
1 files changed, 1 insertions, 4 deletions
diff --git a/etc/bash_completion.d/20vyatta-cfg b/etc/bash_completion.d/20vyatta-cfg
index af9a1b4..f0f621b 100755
--- a/etc/bash_completion.d/20vyatta-cfg
+++ b/etc/bash_completion.d/20vyatta-cfg
@@ -448,10 +448,7 @@ comment()
if [ "$#" -eq "0" ]; then
return 0
fi
- args=("$@")
- #now need to replace last element
- args[${#args[*]}-1]="\"${args[${#args[*]}-1]i}\"";
- eval "${vyatta_sbindir}/vyatta-comment-config.pl ${args[*]}"
+ ${vyatta_sbindir}/vyatta-comment-config.pl "$@"
}
activate()