Commit ae0c6c7
fix(tmux): pidfile hygiene, restore shim option surface
- bridge/host-daemon pidfiles: trust only a numeric PID whose command
looks like our transport child (ssh/socat) — a stale pidfile with a
reused PID no longer reports up or gets killed on stop; stale files
are cleaned with a message
- shim: restore -V/--version, -- end-of-options, and ignore non-option
args like the old script (only unknown -flags error)
Verified: stale-pidfile stop cleans without killing, bridge lifecycle
still green, shellcheck clean.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>1 parent 2d01916 commit ae0c6c7
3 files changed
Lines changed: 50 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1359 | 1359 | | |
1360 | 1360 | | |
1361 | 1361 | | |
| 1362 | + | |
| 1363 | + | |
| 1364 | + | |
| 1365 | + | |
| 1366 | + | |
| 1367 | + | |
| 1368 | + | |
| 1369 | + | |
| 1370 | + | |
| 1371 | + | |
| 1372 | + | |
| 1373 | + | |
1362 | 1374 | | |
1363 | 1375 | | |
1364 | 1376 | | |
1365 | 1377 | | |
1366 | 1378 | | |
1367 | 1379 | | |
1368 | 1380 | | |
| 1381 | + | |
1369 | 1382 | | |
1370 | 1383 | | |
1371 | 1384 | | |
1372 | | - | |
1373 | | - | |
| 1385 | + | |
| 1386 | + | |
1374 | 1387 | | |
1375 | 1388 | | |
1376 | 1389 | | |
1377 | 1390 | | |
1378 | 1391 | | |
1379 | 1392 | | |
1380 | 1393 | | |
1381 | | - | |
| 1394 | + | |
| 1395 | + | |
| 1396 | + | |
| 1397 | + | |
| 1398 | + | |
| 1399 | + | |
1382 | 1400 | | |
1383 | | - | |
1384 | 1401 | | |
1385 | 1402 | | |
1386 | 1403 | | |
1387 | 1404 | | |
1388 | 1405 | | |
1389 | | - | |
1390 | | - | |
| 1406 | + | |
| 1407 | + | |
1391 | 1408 | | |
1392 | 1409 | | |
1393 | 1410 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
24 | 25 | | |
| 26 | + | |
| 27 | + | |
25 | 28 | | |
26 | 29 | | |
27 | 30 | | |
| 31 | + | |
28 | 32 | | |
29 | 33 | | |
30 | 34 | | |
| |||
35 | 39 | | |
36 | 40 | | |
37 | 41 | | |
38 | | - | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
39 | 45 | | |
40 | 46 | | |
41 | 47 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
153 | 165 | | |
154 | | - | |
| 166 | + | |
155 | 167 | | |
156 | 168 | | |
157 | 169 | | |
| |||
329 | 341 | | |
330 | 342 | | |
331 | 343 | | |
332 | | - | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
333 | 351 | | |
334 | | - | |
335 | 352 | | |
336 | 353 | | |
337 | 354 | | |
| |||
0 commit comments