diff options
author | Eric Wong <e@80x24.org> | 2021-01-23 10:27:52 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2021-01-23 23:45:31 +0000 |
commit | 44d9e8224729a392c278ea6254038f961c95a0e8 (patch) | |
tree | d81012ce5c142b7fe012dc494503938aef598e49 | |
parent | d7a74234a1c83b4a4d8ee23dec2bd67c391bd399 (diff) | |
download | public-inbox-44d9e8224729a392c278ea6254038f961c95a0e8.tar.gz |
No need to show the full key name since the user mainly uses the location.
-rw-r--r-- | lib/PublicInbox/LeiExternal.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/PublicInbox/LeiExternal.pm b/lib/PublicInbox/LeiExternal.pm index a4e644ee..5b5f08d1 100644 --- a/lib/PublicInbox/LeiExternal.pm +++ b/lib/PublicInbox/LeiExternal.pm @@ -76,9 +76,9 @@ sub lei_forget_external { delete($cfg->{$key}); $self->_config('--unset', $key); if ($? == 0) { - push @unset, $key; + push @unset, $l; } elsif (($? >> 8) == 5) { - push @not_found, $key; + push @not_found, $l; } else { $self->err("# --unset $key error"); return $self->x_it($?); @@ -86,7 +86,7 @@ sub lei_forget_external { } if (@unset) { next if $quiet; - $self->err("# $_ unset") for @unset; + $self->err("# $_ gone") for @unset; } elsif (@not_found) { $self->err("# $_ not found") for @not_found; } # else { already exited |