about summary refs log tree commit homepage
path: root/lib/PublicInbox/Admin.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/PublicInbox/Admin.pm')
-rw-r--r--lib/PublicInbox/Admin.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/PublicInbox/Admin.pm b/lib/PublicInbox/Admin.pm
index ec80b565..eeef2f63 100644
--- a/lib/PublicInbox/Admin.pm
+++ b/lib/PublicInbox/Admin.pm
@@ -8,7 +8,7 @@ use strict;
 use parent qw(Exporter);
 use Cwd qw(abs_path);
 use POSIX ();
-our @EXPORT_OK = qw(resolve_repo_dir setup_signals);
+our @EXPORT_OK = qw(setup_signals);
 use PublicInbox::Config;
 use PublicInbox::Inbox;
 use PublicInbox::Spawn qw(popen_rd);
@@ -27,7 +27,7 @@ sub setup_signals {
         };
 }
 
-sub resolve_repo_dir {
+sub resolve_inboxdir {
         my ($cd, $ver) = @_;
         my $prefix = defined $cd ? $cd : './';
         if (-d $prefix && -f "$prefix/inbox.lock") { # v2
@@ -121,7 +121,7 @@ EOF
                 push @dirs, '.' if !@dirs && $opt->{-use_cwd};
                 foreach (@dirs) {
                         my $v;
-                        my $dir = resolve_repo_dir($_, \$v);
+                        my $dir = resolve_inboxdir($_, \$v);
                         if ($v < $min_ver) {
                                 push @old, $dir;
                                 next;