diff --git a/subcmds/sync.py b/subcmds/sync.py index 2fea61d50..9e43df4af 100644 --- a/subcmds/sync.py +++ b/subcmds/sync.py @@ -185,9 +185,10 @@ def __init__( def write(self, s: str) -> int: """Write to additional destination.""" - super().write(s) + ret = super().write(s) if self.io is not None: self.io.write(s) + return ret class Sync(Command, MirrorSafeCommand):