aboutsummaryrefslogtreecommitdiff
path: root/cmd/syncthing/perfstats_unix.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/syncthing/perfstats_unix.go')
-rw-r--r--cmd/syncthing/perfstats_unix.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/syncthing/perfstats_unix.go b/cmd/syncthing/perfstats_unix.go
index 48746a6a8..403de2693 100644
--- a/cmd/syncthing/perfstats_unix.go
+++ b/cmd/syncthing/perfstats_unix.go
@@ -15,7 +15,7 @@ import (
)
func init() {
- if innerProcess && os.Getenv("STPERFSTATS") != "" {
+ if os.Getenv("STPERFSTATS") != "" {
go savePerfStats(fmt.Sprintf("perfstats-%d.csv", syscall.Getpid()))
}
}