Relaunch ddrescueview when resuming clone
This commit is contained in:
parent
3e10f2cb8c
commit
d958945fe8
1 changed files with 4 additions and 1 deletions
|
|
@ -1954,7 +1954,10 @@ def run_ddrescue(state, block_pair, pass_name, settings, dry_run=True) -> None:
|
|||
|
||||
# Start ddrescue and ddrescueview (if enabled)
|
||||
proc = exe.popen_program(cmd)
|
||||
if block_pair.view_map and not block_pair.view_proc:
|
||||
if (
|
||||
block_pair.view_map
|
||||
and (not block_pair.view_proc or block_pair.view_proc.poll() is not None)
|
||||
):
|
||||
block_pair.view_proc = exe.popen_program(
|
||||
['ddrescueview', '-r', '5s', block_pair.map_path],
|
||||
pipe=True,
|
||||
|
|
|
|||
Loading…
Reference in a new issue