Commit 8890c21c authored by Jacob Vosmaer's avatar Jacob Vosmaer

Clean up if the caller won't

parent ac518d74
......@@ -59,5 +59,9 @@ func startServer(ts *httptest.Server) (cmd *exec.Cmd, err error) {
}
time.Sleep(servWaitSleep * time.Millisecond)
}
if err != nil {
cleanUpProcessGroup(cmd)
}
return
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment