diff options
author | Eric Wong <e@80x24.org> | 2023-10-11 08:18:28 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2023-10-11 22:10:52 +0000 |
commit | 9d102fcf3fdc1f98999308de47fc6b71e83caf9c (patch) | |
tree | 0b56067ca53a5fb00afed3980176e2228b30b137 /lib/PublicInbox/Emergency.pm | |
parent | 3d490f2b9a8b2934cb386a8649e034c8c6c70bc9 (diff) | |
download | public-inbox-9d102fcf3fdc1f98999308de47fc6b71e83caf9c.tar.gz |
I think I was too lazy when configuring my Dragonfly VM install.
Diffstat (limited to 'lib/PublicInbox/Emergency.pm')
-rw-r--r-- | lib/PublicInbox/Emergency.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/Emergency.pm b/lib/PublicInbox/Emergency.pm index 74a4069a..968d7d6f 100644 --- a/lib/PublicInbox/Emergency.pm +++ b/lib/PublicInbox/Emergency.pm @@ -18,7 +18,7 @@ sub new { sub _fn_in { my ($self, $pid, $dir) = @_; - my $host = $self->{short_host} //= (split(/\./, hostname))[0]; + my $host = $self->{-host} //= (split(/\./, hostname))[0] // 'localhost'; my $now = time; my $n; if ($self->{t} != $now) { |