diff options
author | John Southworth <john.southworth@vyatta.com> | 2012-03-13 21:30:29 +0000 |
---|---|---|
committer | John Southworth <john.southworth@vyatta.com> | 2012-03-13 22:56:43 +0000 |
commit | a787b88d55b2acbf4031486cf5d99e86cd2915c2 (patch) | |
tree | c5b2140de27679579b84718a9a9d2790cf340d72 | |
parent | 5c87a29d59330dce77628a36a23b37b078b6810b (diff) | |
download | vyatta-op-a787b88d55b2acbf4031486cf5d99e86cd2915c2.tar.gz vyatta-op-a787b88d55b2acbf4031486cf5d99e86cd2915c2.zip |
Bugfix 7527: Don't override VYATTA_PAGER value if it was previously set
-rw-r--r-- | etc/bash_completion.d/vyatta-op | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/bash_completion.d/vyatta-op b/etc/bash_completion.d/vyatta-op index f638488..65dd701 100644 --- a/etc/bash_completion.d/vyatta-op +++ b/etc/bash_completion.d/vyatta-op @@ -32,7 +32,8 @@ test -z "$_vyatta_default_pager" && \ --auto-buffers\ --no-lessopen\ $_vyatta_less_options" -declare -x VYATTA_PAGER=$_vyatta_default_pager +test -z "$VYATTA_PAGER" && \ + declare -x VYATTA_PAGER=$_vyatta_default_pager _vyatta_op_do_key_bindings () { |