aboutsummaryrefslogtreecommitdiff
path: root/ikiwiki.in
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-10-23 18:05:57 -0400
committerJoey Hess <joey@kodama.kitenet.net>2008-10-23 18:05:57 -0400
commit85f4b99710fa94b9b67cee061c37eaf49be36b25 (patch)
tree0c3f8d4857b4fc93f52e63f3d4e9154a3e129d07 /ikiwiki.in
parentf349e4ef36d0653c779872d9eb8dca94e6c15d90 (diff)
downloadikiwiki-85f4b99710fa94b9b67cee061c37eaf49be36b25.tar
ikiwiki-85f4b99710fa94b9b67cee061c37eaf49be36b25.tar.gz
untrusted committers code seems to be fully working
Still need to investigate possible races, and test some more.
Diffstat (limited to 'ikiwiki.in')
-rwxr-xr-xikiwiki.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/ikiwiki.in b/ikiwiki.in
index 60663bc89..d601d2739 100755
--- a/ikiwiki.in
+++ b/ikiwiki.in
@@ -156,7 +156,8 @@ sub main () { #{{{
if exists $config{setupsyslog};
delete @config{qw(setupsyslog setupverbose wrappers genwrappers rebuild)};
checkconfig();
- if (! $config{cgi} && ! $config{post_commit}) {
+ if (! $config{cgi} && ! $config{post_commit} &&
+ ! $config{test_receive}) {
$config{post_commit}=1;
}
gen_wrapper();