remove racing stdout
diff --git a/server_integration_test.go b/server_integration_test.go
index a185dd9..407d38a 100644
--- a/server_integration_test.go
+++ b/server_integration_test.go
@@ -501,17 +501,15 @@
 		return "", err
 	}
 
-	output := stdout.String()
-
 	if err := cmd.Wait(); err != nil {
-		return output, &execError{
+		return stdout.String(), &execError{
 			path:   cmd.Path,
 			stderr: stderr.String(),
 			err:    err,
 		}
 	}
 
-	return output, nil
+	return stdout.String(), nil
 }
 
 // assert.Eventually seems to have a data rate on macOS with go 1.14 so replace it with this simpler function