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:
2Shirt 2020-01-13 22:11:07 -07:00
parent e9b1fe7819
commit c161ebac2a
Signed by: 2Shirt
GPG key ID: 152FAC923B0E132C

View file

@ -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):