diff options
author | Eric Wong <e@80x24.org> | 2023-02-09 12:30:59 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2023-02-09 22:09:38 +0000 |
commit | 0830817c132cb105291104937a645d30efe06db1 (patch) | |
tree | 1304da003c7d190fce402d288cd97c8fa770c0ad | |
parent | 385a9f395604b0ec99190df2f1a0fb26c896f585 (diff) | |
download | public-inbox-0830817c132cb105291104937a645d30efe06db1.tar.gz |
This makes the verbose progress output look nicer, but doesn't affect the actual config file generation.
-rw-r--r-- | lib/PublicInbox/LeiMirror.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/PublicInbox/LeiMirror.pm b/lib/PublicInbox/LeiMirror.pm index f7184240..afe12bb3 100644 --- a/lib/PublicInbox/LeiMirror.pm +++ b/lib/PublicInbox/LeiMirror.pm @@ -259,7 +259,8 @@ sub run_reap { sub start_cmd { my ($self, $cmd, $opt, $fini) = @_; do_reap($self); - $self->{lei}->qerr("# @$cmd"); + utf8::decode(my $msg = "# @$cmd"); + $self->{lei}->qerr($msg); return if $self->{dry_run}; $LIVE->{spawn($cmd, undef, $opt)} = [ \&reap_cmd, $self, $cmd, $fini ] } |