about summary refs log tree commit homepage
path: root/script/public-inbox-convert
diff options
context:
space:
mode:
authorEric Wong <e@yhbt.net>2020-04-20 09:33:38 +0000
committerEric Wong <e@yhbt.net>2020-04-20 20:20:49 +0000
commite01fc7d6c08ffaaf14406802f4085dc41f24f7e5 (patch)
treee21dd7be9f01628d809f1bb5f1b126e991618a39 /script/public-inbox-convert
parenta7a5822ce51c20af6117623e3bedc04055af5d34 (diff)
downloadpublic-inbox-e01fc7d6c08ffaaf14406802f4085dc41f24f7e5.tar.gz
drop needless `eval {}' around Config->new
It hasn't been needed since commit 089cca37fa036411
("config: ignore missing config files").  And we
actually want to propagate errors when we can't
start new processes or if git(1) is missing.
Diffstat (limited to 'script/public-inbox-convert')
-rwxr-xr-xscript/public-inbox-convert2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/public-inbox-convert b/script/public-inbox-convert
index e13c13f4..4c220b36 100755
--- a/script/public-inbox-convert
+++ b/script/public-inbox-convert
@@ -24,7 +24,7 @@ my $old_dir = shift(@ARGV) or die $usage;
 my $new_dir = shift(@ARGV) or die $usage;
 die "$new_dir exists\n" if -d $new_dir;
 die "$old_dir not a directory\n" unless -d $old_dir;
-my $config = eval { PublicInbox::Config->new };
+my $config = PublicInbox::Config->new;
 $old_dir = abs_path($old_dir);
 my $old;
 if ($config) {