Skip to content

Prevent nested ssh from consuming while loop stdin#1368

Open
guoard wants to merge 2 commits into
Altinity:masterfrom
guoard:patch-1
Open

Prevent nested ssh from consuming while loop stdin#1368
guoard wants to merge 2 commits into
Altinity:masterfrom
guoard:patch-1

Conversation

@guoard
Copy link
Copy Markdown

@guoard guoard commented May 10, 2026

Fixed backup iteration over SSH.

The nested ssh command was consuming stdin from the while read loop, causing only the first backup to be processed. This change uses ssh -n to prevent stdin interference and ensures all backup metadata files are processed correctly.

Copy link
Copy Markdown
Collaborator

@Slach Slach left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice catch, thanks for contribution

@guoard
Copy link
Copy Markdown
Author

guoard commented May 14, 2026

Failed test is not related to changes:

2026-05-13 18:13:22.546 FTL failed to start test environments error="TestContainers(4).StartAll: start azure: create azure: Error response from daemon: No such image: mcr.microsoft.com/azure-storage/azurite:latest"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants