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
Owner

Summary

  • Fix init script using tail -1 to find newly created sessions, which fails when old sessions exist
  • Capture session IDs before and after creating new sessions, then diff to identify newly created ones

Fixes #172

## Summary - Fix init script using `tail -1` to find newly created sessions, which fails when old sessions exist - Capture session IDs before and after creating new sessions, then diff to identify newly created ones Fixes #172
shoko added 1 commit 2026-04-06 03:08:31 +02:00
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
han approved these changes 2026-04-06 03:09:17 +02:00
han left a comment
First-time contributor

lgtm

lgtm
shoko merged commit 1b19c9a92c into main 2026-04-06 03:09:30 +02:00
Sign in to join this conversation.