We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7b4bc18 commit cde898dCopy full SHA for cde898d
cmd/serv.go
@@ -191,7 +191,7 @@ func runServ(c *cli.Context) error {
191
return fail("Invalid repo name", "Invalid repo name: %s", reponame)
192
}
193
194
- if setting.EnablePprof || c.Bool("enable-pprof") {
+ if c.Bool("enable-pprof") {
195
if err := os.MkdirAll(setting.PprofDataPath, os.ModePerm); err != nil {
196
return fail("Error while trying to create PPROF_DATA_PATH", "Error while trying to create PPROF_DATA_PATH: %v", err)
197
0 commit comments