fix: init script captures wrong session IDs when old sessions exist #173

Merged
shoko merged 1 commits from fix/issue-172-init-script-wrong-session-ids into main 2026-04-06 03:09:30 +02:00

1 Commits

Author SHA1 Message Date
shokollm
85a4239383 fix: init script captures wrong session IDs when old sessions exist
The init script used 'tail -1' to find newly created sessions, which
fails when old sessions exist because it picks an existing session
instead of the newly created one.

The fix captures session IDs before and after creating new sessions,
then diffs to identify newly created sessions.

Fixes #172
2026-04-06 01:08:09 +00:00