1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2024-12-25 09:19:31 +00:00

Merge pull request #6685 from ThomasWaldmann/fix-create-filter-master

fix create_filter_process exception handler, fixes #6681
This commit is contained in:
TW 2022-05-08 19:15:35 +02:00 committed by GitHub
commit 09a84fbd24
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -332,7 +332,8 @@ def create_filter_process(cmd, stream, stream_close, inbound=True):
except Exception:
# something went wrong with processing the stream by borg
logger.debug('Exception, killing the filter...')
proc.kill()
if cmd:
proc.kill()
borg_succeeded = False
raise
else: