Skip to content

fix incorrect 'wait' use in init-bottom#12

Merged
darkrain42 merged 2 commits into
mainfrom
wait-what-was-i-thinking
Apr 7, 2026
Merged

fix incorrect 'wait' use in init-bottom#12
darkrain42 merged 2 commits into
mainfrom
wait-what-was-i-thinking

Conversation

@darkrain42
Copy link
Copy Markdown
Owner

Fix incorrect use of wait shell built-in in init-bottom, and also comment the various exit criteria for wait_for_tailscaled, since they're somewhat subtle.

'wait' is a shell built-in that waits for children of the current
process, but init-premount's run_tailscale / tailscaled instance isn't
a child of the running init-bottom. Replace with a loop that waits
$TAILSCALE_SHUTDOWN_TIMEOUT seconds for tailscaled to shut down.
@darkrain42 darkrain42 self-assigned this Mar 18, 2026
@darkrain42 darkrain42 merged commit b74ddfe into main Apr 7, 2026
2 checks passed
@darkrain42 darkrain42 deleted the wait-what-was-i-thinking branch April 7, 2026 03:00
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.

1 participant