X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/7fca2e01f888ba211d46602ba56bee9faa7d150a..22f3f422af7e25460fbfe92de54e3fa45bbc7ff7:/ikiwiki diff --git a/ikiwiki b/ikiwiki index f918980dd..e218979d1 100755 --- a/ikiwiki +++ b/ikiwiki @@ -420,7 +420,7 @@ sub lockwiki () { #{{{ } } #}}} -sub lockwiki () { #{{{ +sub unlockwiki () { #{{{ close WIKILOCK; } #}}} @@ -1134,7 +1134,8 @@ sub cgi_editpage ($$) { #{{{ # presumably the commit will trigger an update # of the wiki rcs_commit($message); - unlock_wiki(); + # prevent deadlock with post-commit hook + unlockwiki(); } else { loadindex();