mirror of
https://github.com/borgbackup/borg.git
synced 2024-12-25 17:27: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:
commit
09a84fbd24
1 changed files with 2 additions and 1 deletions
|
@ -332,7 +332,8 @@ def create_filter_process(cmd, stream, stream_close, inbound=True):
|
||||||
except Exception:
|
except Exception:
|
||||||
# something went wrong with processing the stream by borg
|
# something went wrong with processing the stream by borg
|
||||||
logger.debug('Exception, killing the filter...')
|
logger.debug('Exception, killing the filter...')
|
||||||
proc.kill()
|
if cmd:
|
||||||
|
proc.kill()
|
||||||
borg_succeeded = False
|
borg_succeeded = False
|
||||||
raise
|
raise
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue