one more slurp
see 9ad7ea4
-- "(minor) some changes to system(), ``, etc."
This commit is contained in:
parent
b7944ed4d1
commit
3677bc5a4d
|
@ -770,7 +770,7 @@ sub check_repo_write_enabled {
|
|||
my ($repo) = shift;
|
||||
for my $d ("$ENV{HOME}/.gitolite.down", "$ENV{GL_REPO_BASE_ABS}/$repo.git/.gitolite.down") {
|
||||
next unless -f $d;
|
||||
die $ABRT . `cat $d` if -s $d;
|
||||
die $ABRT . slurp($d) if -s $d;
|
||||
die $ABRT . "writes are currently disabled\n";
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue