mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-01-30 05:39:12 +02:00
3837e61a75
Option warnings will cause the async process to fail because a warning is logged but stdout is closed so the process aborts. This bug has existed for quite some time, but it was made worse by abb8ebe because now the async role can have different valid options than the default role. Previously at least a warning would be emitted before the async process died. Fix this by only allowing warnings for the default role. Warnings were already suppressed for local and remote roles so the logic already exists.