[Borgbackup] Obtaining borg exit codes when using `timeout`

Gordon Marinovich gordonm at zanotech.com.au
Mon Sep 16 04:46:38 EDT 2019


Good pointer Bruce.  After having a read about it, I think that PIPESTATUS
will do the trick.  BASH - the endless journey! :-D


On Thu, 5 Sep 2019 at 17:05, Bruce Givens <givens at cipsoft.com> wrote:

> Hi Gordon,
>
> looks to me like you'll be capturing the exit status of tee in backup_exit.
> I'd suggest looking into the bash variable PIPESTATUS.
>
> Regards,
> Bruce
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/borgbackup/attachments/20190916/97dc0778/attachment.html>


More information about the Borgbackup mailing list