Report usage statistics after transfer bench

This commit is contained in:
Jakob Borg
2015-04-30 08:43:57 +02:00
parent 9638dcda0a
commit c9da8237df
8 changed files with 51 additions and 41 deletions

View File

@@ -287,7 +287,7 @@ func scStartProcesses() ([]syncthingProcess, error) {
}
err = p[1].start()
if err != nil {
_ = p[0].stop()
p[0].stop()
return nil, err
}
@@ -299,8 +299,8 @@ func scStartProcesses() ([]syncthingProcess, error) {
}
err = p[2].start()
if err != nil {
_ = p[0].stop()
_ = p[1].stop()
p[0].stop()
p[1].stop()
return nil, err
}