From 2971c4293a258667eb40bb283104d45cd3dbd9cc Mon Sep 17 00:00:00 2001 From: joey Date: Fri, 17 Mar 2006 18:44:14 +0000 Subject: fix --- ikiwiki | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to '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(); -- cgit v1.2.3