Skip to content
Snippets Groups Projects
  • Evangelos Foutras's avatar
    26808056
    borg_client: stop ignoring errors during db dumps · 26808056
    Evangelos Foutras authored
    Due to the "systemctl is-active foo && backup-foo || true" shorthand,
    errors during database dumping were being ignored. Change the MariaDB
    section to also be wrapped in a proper if statement. Finally, get rid
    of "|| true" silencing statements + enable errexit in helper scripts.
    Verified
    26808056
    History
    borg_client: stop ignoring errors during db dumps
    Evangelos Foutras authored
    Due to the "systemctl is-active foo && backup-foo || true" shorthand,
    errors during database dumping were being ignored. Change the MariaDB
    section to also be wrapped in a proper if statement. Finally, get rid
    of "|| true" silencing statements + enable errexit in helper scripts.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.