about summary refs log tree commit homepage
path: root/lib/PublicInbox/LeiExternal.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/PublicInbox/LeiExternal.pm')
-rw-r--r--lib/PublicInbox/LeiExternal.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/LeiExternal.pm b/lib/PublicInbox/LeiExternal.pm
index b5dd85e1..f4e24c2a 100644
--- a/lib/PublicInbox/LeiExternal.pm
+++ b/lib/PublicInbox/LeiExternal.pm
@@ -222,7 +222,7 @@ sub _complete_url_common ($) {
         # Maybe there's a better way to go about this in
         # contrib/completion/lei-completion.bash
         my $re = '';
-        my $cur = pop @$argv;
+        my $cur = pop(@$argv) // '';
         if (@$argv) {
                 my @x = @$argv;
                 if ($cur eq ':' && @x) {