diff --git a/bin/dwpage.php b/bin/dwpage.php index d7f6e9bb8df565763a8831493650d7faa7f75062..1c1a1c10ee6f38cb5e41e75e51a31829600c97ec 100755 --- a/bin/dwpage.php +++ b/bin/dwpage.php @@ -248,7 +248,7 @@ class PageCLI extends DokuCLI { lock($wiki_id); - if(checklock($wiki_id) != $this->username) { + if(checklock($wiki_id)) { $this->error("Unable to obtain lock for $wiki_id "); var_dump(checklock($wiki_id)); exit(1);