fix
parent
f180afec6c
commit
2971c4293a
5
ikiwiki
5
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();
|
||||
|
|
Loading…
Reference in New Issue