aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSitaram Chamarty <sitaram@atc.tcs.com>2017-01-16 18:36:09 +0530
committerSitaram Chamarty <sitaram@atc.tcs.com>2017-01-16 18:36:09 +0530
commit5a752721e523996f135916df14e5e704e2ebe59d (patch)
tree0a2e6c9a6a3bbd216a9dd9e47cf1cf696491971d
parentallow @group names in config values to be expanded... (diff)
downloadgitolite-gentoo-5a752721e523996f135916df14e5e704e2ebe59d.tar.gz
gitolite-gentoo-5a752721e523996f135916df14e5e704e2ebe59d.tar.bz2
gitolite-gentoo-5a752721e523996f135916df14e5e704e2ebe59d.zip
minor oopsie in checking return code of "do"
-rw-r--r--src/lib/Gitolite/Conf/Load.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Gitolite/Conf/Load.pm b/src/lib/Gitolite/Conf/Load.pm
index f495b7c..4f42cdc 100644
--- a/src/lib/Gitolite/Conf/Load.pm
+++ b/src/lib/Gitolite/Conf/Load.pm
@@ -308,7 +308,7 @@ sub load_1 {
return if not $split_conf{$repo};
my $cc = "./gl-conf";
- _die "parse '$cc' failed: " . ( $! or $@ ) unless do $cc;
+ _die "parse '$cc' failed: " . ( $@ or $! ) unless do $cc;
$last_repo = $repo;
$repos{$repo} = $one_repo{$repo};