Commit 3155e42
fix(log_cmd): reap child on read errors in realRunner
realRunner's cleanup only called child.wait() on clean EOF. If read()
failed after spawn succeeded, the child would become a zombie. Add an
errdefer right after spawn so any subsequent error still reaps the
process.
Also mark the syslog-logging feature complete in PLAN.md.1 parent f64b13d commit 3155e42
2 files changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
| 117 | + | |
| 118 | + | |
117 | 119 | | |
118 | 120 | | |
119 | 121 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
183 | 183 | | |
184 | 184 | | |
185 | 185 | | |
| 186 | + | |
186 | 187 | | |
187 | 188 | | |
188 | 189 | | |
| |||
0 commit comments