From 54f6b8f9aee1457b42b2b40c55fefe7ac95b8c7e Mon Sep 17 00:00:00 2001 From: 2Shirt <2xShirt@gmail.com> Date: Sun, 10 Jul 2022 16:10:46 -0700 Subject: [PATCH] Allow minor errors on destination disks Addresses issue #28 --- scripts/wk/clone/ddrescue.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/wk/clone/ddrescue.py b/scripts/wk/clone/ddrescue.py index 07f65423..8f563b48 100644 --- a/scripts/wk/clone/ddrescue.py +++ b/scripts/wk/clone/ddrescue.py @@ -1032,7 +1032,7 @@ class State(): ) # Check for minor errors - if not check_attributes(self.destination, only_blocking=False): + if not check_attributes(self.destination, only_blocking=True): std.print_warning( f'Attribute error(s) detected for: {self.destination.path}', ) @@ -1602,7 +1602,7 @@ def check_destination_health(destination): result = 'Critical error(s) detected for: {destination.path}' # Check for minor errors - if not check_attributes(destination, only_blocking=False): + if not check_attributes(destination, only_blocking=True): result = f'Attribute error(s) detected for: {destination.path}' # Done