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
|
break
|
||||||
|
|
||||||
# Save results to log
|
# Save results to log
|
||||||
std.print_standard(' ')
|
LOG.info('')
|
||||||
std.print_report(state.generate_report())
|
for line in state.generate_report():
|
||||||
|
LOG.info(' %s', std.strip_colors(line))
|
||||||
|
|
||||||
|
|
||||||
def mount_raw_image(path):
|
def mount_raw_image(path):
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue