diff --git a/compare_checksums.py b/compare_checksums.py index bde9e10..a1c7a3d 100644 --- a/compare_checksums.py +++ b/compare_checksums.py @@ -45,7 +45,6 @@ def get_remote_checksum(local_backup_path): parts = result.strip().split() return parts[0].strip() except subprocess.CalledProcessError as e: - print(f"ERROR: {remote_path} -> {e.stderr}") return None def get_local_checksum(local_backup_path): @@ -57,9 +56,7 @@ def batch_check(): for local_backup_path in get_local_backups(): remote_checksum = get_remote_checksum(local_backup_path) local_checksum = get_local_checksum(local_backup_path) - if remote_checksum is None: - print(f"? {local_checksum} -> (error)") - elif remote_checksum == local_checksum: + if remote_checksum == local_checksum: print(f" {local_checksum} -> {remote_checksum}") else: print(f"XXX {local_checksum} -> {remote_checksum}")