bareos: bareos-13.2 9d894b59

Author Committer Branch Timestamp Parent
Marco van Wieringen Marco van Wieringen bareos-13.2 2013-06-28 23:02 bareos-13.2 d57112d4 Pending
Changeset Streamline error handling.

When we fail in backup due to a version mismatch on the FD protocol
or in restore and verify for every failure we close the FD connection
if we opened that and return from the function. For backup we keep
the wait_for_job_termination() call as we really need that but as
we closed the FD connection already when we got a FD protocol version
mismatch we no longer hang waiting for something to be returned from
the FD which won't happen when the DIR detects a protocol version
mismatch.
mod - src/dird/backup.c Diff File
mod - src/dird/restore.c Diff File
mod - src/dird/verify.c Diff File