diff options
-rw-r--r-- | src/lib/Gitolite/Conf/Load.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/Gitolite/Conf/Load.pm b/src/lib/Gitolite/Conf/Load.pm index 0744ee3..f917f88 100644 --- a/src/lib/Gitolite/Conf/Load.pm +++ b/src/lib/Gitolite/Conf/Load.pm @@ -282,6 +282,7 @@ sub env_user_options { $line =~ s/^\s*#\s*//; my ($variable, $value) = split(/:\s*/, $line, 2); + next unless $value && $value =~ /\w/; chomp($value); $value =~ s/^\s+|\s+$//; |