diff --git a/src/gitolite.pm b/src/gitolite.pm index fbae91d..132bdbe 100644 --- a/src/gitolite.pm +++ b/src/gitolite.pm @@ -585,7 +585,7 @@ sub setup_gitweb_access system("git config --remove-section gitweb 2>/dev/null"); } - return ($desc or can_read($repo, 'gitweb')); + return (can_read($repo, 'gitweb') or $desc); # this return value is used by the caller to write to projects.list }