#2410 PR merged: Evaluate OUTPUT_LFTP_OPTIONS at the beginning of lftp operations.

Labels: enhancement, fixed / solved / done, minor bug

gozora opened issue at 2020-05-26 12:18:

Relax-and-Recover (ReaR) Pull Request Template

Please fill in the following items before submitting a new pull request:

Pull Request Details:
  • Type: Bug Fix / Enhancement

  • Impact: Normal

  • Reference to related issue (URL): https://github.com/rear/rear/issues/2406

  • How was this pull request tested?
    With executing rear mkbackup with configured lftp.

  • Brief description of the changes in this pull request:
    Currently OUTPUT_LFTP_OPTIONS are evaluated after connection to
    destination host is established. This avoids using of
    OUTPUT_LFTP_OPTIONS for connection specific settings.
    This patch moves OUTPUT_LFTP_OPTIONS to the beginning of lftp command
    before any other command is executed.


[Export of Github issue for rear/rear.]