summaryrefslogtreecommitdiffstats
path: root/cmd/hook.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/hook.go')
-rw-r--r--cmd/hook.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/cmd/hook.go b/cmd/hook.go
index 9f547362da..7e45304841 100644
--- a/cmd/hook.go
+++ b/cmd/hook.go
@@ -65,7 +65,7 @@ Gitea or set your environment appropriately.`, "")
}
}
- setup("hooks/pre-receive.log")
+ setup("hooks/pre-receive.log", false)
// the environment setted on serv command
isWiki := (os.Getenv(models.EnvRepoIsWiki) == "true")
@@ -131,7 +131,7 @@ Gitea or set your environment appropriately.`, "")
}
}
- setup("hooks/update.log")
+ setup("hooks/update.log", false)
return nil
}
@@ -147,7 +147,7 @@ Gitea or set your environment appropriately.`, "")
}
}
- setup("hooks/post-receive.log")
+ setup("hooks/post-receive.log", false)
// the environment setted on serv command
repoUser := os.Getenv(models.EnvRepoUsername)