From 63ce0b05d99225496f31ba9fd444ab2fefdc37e9 Mon Sep 17 00:00:00 2001 From: John Southworth Date: Thu, 14 Jul 2011 18:49:09 -0500 Subject: Don't allow users to set migration comments (cherry picked from commit 9f1ff5427e0f72f2bded287be6e1d4cf442945cb) --- etc/bash_completion.d/vyatta-cfg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'etc') diff --git a/etc/bash_completion.d/vyatta-cfg b/etc/bash_completion.d/vyatta-cfg index 776c56b..8626342 100755 --- a/etc/bash_completion.d/vyatta-cfg +++ b/etc/bash_completion.d/vyatta-cfg @@ -97,9 +97,9 @@ show () args+=("$arg") fi done + # Note: the sed command below is to fix bug 7331 cli-shell-api "${opts[@]}" -- showCfg "${args[@]}" \ - | sed -e '/--- CONFIGURATION COMMENTED OUT DURING MIGRATION BELOW ---/\ - ,/--- CONFIGURATION COMMENTED OUT DURING MIGRATION ABOVE ---/d'\ + | sed -e '/--- CONFIGURATION COMMENTED OUT DURING MIGRATION BELOW ---/,/--- CONFIGURATION COMMENTED OUT DURING MIGRATION ABOVE ---/d'\ | eval "${VYATTA_PAGER:-cat}" } -- cgit v1.2.3