diff --git a/restic_volume_backup/backup_runner.py b/restic_volume_backup/backup_runner.py index 8cffc07..dfb9dae 100644 --- a/restic_volume_backup/backup_runner.py +++ b/restic_volume_backup/backup_runner.py @@ -40,7 +40,7 @@ def run(image: str = None, command: str = None, volumes: dict = None, except StopIteration: break if line: - yield line.strip() + yield line.rstrip() else: break