Commit 4017826
committed
TraceServer: Fix case of starting upon stored pid
Before this fix, a warning was always showed to the user upon an already
"running" server, even in the case of a no longer running server.
Meaning, in the case where a pid is still stored despite the
corresponding process(es) not running anymore.
Do an internal reset followed by a start attempt in such a case, to
honor the genuine start command while duly resetting internally.
Contributes to fixing #8.
Signed-off-by: Marco Miller <marco.miller@ericsson.com>1 parent 3828598 commit 4017826
1 file changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| 77 | + | |
77 | 78 | | |
78 | 79 | | |
79 | | - | |
| 80 | + | |
80 | 81 | | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
81 | 87 | | |
82 | 88 | | |
83 | 89 | | |
| |||
0 commit comments