Repository navigation
Commit 5dcf837
committed
Survive a missing nohup, and say something useful when the proxy won't start
Found while testing the release-tarball path on a machine with no Homebrew —
the path a non-technical user actually takes, and the one nothing had
exercised until now (both real installs so far found an existing binary).
The tarball path itself works: 59 MB binary downloaded, feature-gate
satisfied, config written, GPT and Claude both answering through it, proxy
cleaned up on exit. Two things it exposed:
- start_proxy hard-depended on `nohup`. Present everywhere in practice, but
a background job with the same redirect works without it, so fall back
rather than failing.
- "proxy failed to start — see proxy.log" pointed at an EMPTY log, which is
precisely the case where the log cannot help: the binary never ran. The
message now distinguishes the two and prints the command to run by hand.1 parent aaec78b commit 5dcf837
1 file changed
Lines changed: 21 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
54 | | - | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
55 | 63 | | |
56 | 64 | | |
57 | 65 | | |
| |||
61 | 69 | | |
62 | 70 | | |
63 | 71 | | |
64 | | - | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
65 | 83 | | |
66 | 84 | | |
67 | 85 | | |
| |||
0 commit comments