diff options
Diffstat (limited to 'cmd/syncthing/heapprof.go')
-rw-r--r-- | cmd/syncthing/heapprof.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cmd/syncthing/heapprof.go b/cmd/syncthing/heapprof.go index a4631451f..24e0e522c 100644 --- a/cmd/syncthing/heapprof.go +++ b/cmd/syncthing/heapprof.go @@ -14,8 +14,7 @@ import ( ) func init() { - if innerProcess && os.Getenv("STHEAPPROFILE") != "" { - l.Debugln("Starting heap profiling") + if os.Getenv("STHEAPPROFILE") != "" { go saveHeapProfiles() } } |