diff options
Diffstat (limited to 'etc')
-rw-r--r-- | etc/bash_completion.d/vyatta-op | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/etc/bash_completion.d/vyatta-op b/etc/bash_completion.d/vyatta-op index 2845377..c820305 100644 --- a/etc/bash_completion.d/vyatta-op +++ b/etc/bash_completion.d/vyatta-op @@ -499,7 +499,11 @@ strip-private () commands () { - ${vyatta_sbindir}/vyatta-config-gen-sets.pl - + if [ "$_OFR_CONFIGURE" != "" ]; then + ${vyatta_sbindir}/vyatta-config-gen-sets.pl - + else + echo "commands pipe is not supported in operational mode" + fi } # pipe command help |