diff --git a/scripts/wk/clone/ddrescue.py b/scripts/wk/clone/ddrescue.py index b8fe5f36..36e15e41 100644 --- a/scripts/wk/clone/ddrescue.py +++ b/scripts/wk/clone/ddrescue.py @@ -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,