Save ddrescue results to log at exit
* Instead of printing them since it should be run in tmux * And as such the results would be obscured from the user anyway
This commit is contained in:
parent
e9b1fe7819
commit
c161ebac2a
1 changed files with 3 additions and 2 deletions
|
|
@ -1697,8 +1697,9 @@ def main():
|
|||
break
|
||||
|
||||
# Save results to log
|
||||
std.print_standard(' ')
|
||||
std.print_report(state.generate_report())
|
||||
LOG.info('')
|
||||
for line in state.generate_report():
|
||||
LOG.info(' %s', std.strip_colors(line))
|
||||
|
||||
|
||||
def mount_raw_image(path):
|
||||
|
|
|
|||
Loading…
Reference in a new issue