Commit 2c7c0f1
committed
TraceServer: Add an explicit foreign server check
If a foreign server is already running, the start command used to miss
that and keep going, upon a yet defined server.pid. Add an isUp check
now to prevent startup from proceeding, should a known foreign server be
already running.
Checking for server.exitCode or server.signalCode at this early startup
stage couldn't fix this, because both are prematurely set as 'none',
which means a running spawned server.
Contributes to fixing #8.
Signed-off-by: Marco Miller <marco.miller@ericsson.com>1 parent a56e497 commit 2c7c0f1
1 file changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
| 70 | + | |
71 | 71 | | |
72 | 72 | | |
73 | | - | |
| 73 | + | |
| 74 | + | |
74 | 75 | | |
75 | 76 | | |
76 | 77 | | |
| |||
0 commit comments