diff options
-rwxr-xr-x | ikiwiki | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1131,11 +1131,11 @@ sub cgi_editpage ($$) { #{{{ if ($newfile) { rcs_add($file); } + # prevent deadlock with post-commit hook + unlockwiki(); # presumably the commit will trigger an update # of the wiki rcs_commit($message); - # prevent deadlock with post-commit hook - unlockwiki(); } else { loadindex(); |