diff options
| author | Clawd <ai@clawd.bot> | 2026-02-18 20:46:53 -0800 |
|---|---|---|
| committer | Clawd <ai@clawd.bot> | 2026-02-18 20:46:53 -0800 |
| commit | 7b05505db7e964e400b779f76e8a2023bda93fe1 (patch) | |
| tree | c1786f2c906bab8d595268fa3e7d1a9b73210529 /cmd/ship/deploy_impl.go | |
| parent | 805541df0f22f1200692ddfae7b2f199a89a8f7b (diff) | |
fix: port allocator scans existing ports to avoid collisions
- Collapse multi-line allocScript to single line (fixes SSH+sudo mangling)
- Scan /etc/ship/ports/* to find highest port in use
- Use max(next_port, highest_used + 1) to prevent collisions
- Fixes issue where stale/missing next_port caused port conflicts
Diffstat (limited to 'cmd/ship/deploy_impl.go')
0 files changed, 0 insertions, 0 deletions
