lib/rc: Remove dead lock (fixes #5403)

This commit is contained in:
Jakob Borg 2018-12-23 09:11:15 +01:00
parent 4783294a09
commit 41469c5393
1 changed files with 0 additions and 1 deletions

View File

@ -408,7 +408,6 @@ func (p *Process) checkForProblems(logfd *os.File) error {
raceConditionStart := []byte("WARNING: DATA RACE")
raceConditionSep := []byte("==================")
panicConditionStart := []byte("panic:")
p.eventMut.Lock()
panicConditionSep := []byte("[") // fallback if we don't already know our ID
if p.id.String() != "" {
panicConditionSep = []byte(p.id.String()[:5])