Exit from base backups when shutdown is requested

Magnus Hagander <magnus@hagander.net>

Commit: 688423d004f4092aed73c73a3281c281d476436d
Author: Magnus Hagander <magnus@hagander.net>
Date: 2011-01-14T11:36:45Z
Releases: 9.1.0
Exit from base backups when shutdown is requested

When the exit waits until the whole backup completes, it may take
a very long time.

In passing, add back an error check in the main loop so we detect
clients that disconnect much earlier if the backup is large.

Files