diff options
author | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-03-17 18:44:14 +0000 |
---|---|---|
committer | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-03-17 18:44:14 +0000 |
commit | 2971c4293a258667eb40bb283104d45cd3dbd9cc (patch) | |
tree | a080013c4e787463e6a6de09d7959ab1288f27f2 | |
parent | f180afec6c97884438963538ed36836f16e4175f (diff) |
fix
-rwxr-xr-x | ikiwiki | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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(); |