diff options
author | Eric Wong <e@80x24.org> | 2023-01-17 07:19:10 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2023-01-18 23:26:03 +0000 |
commit | 4a2a95bbc78f99c8c5278cfe29de74bd1483903c (patch) | |
tree | 8652affab199e745cb52da49f526a2d998e755fb /script | |
parent | f7f0e7bee09cfc57ecc6845a8cf9e80a0bbd64f5 (diff) | |
download | public-inbox-4a2a95bbc78f99c8c5278cfe29de74bd1483903c.tar.gz |
This avoids awkwardly stuffing an arrayref into callbacks which expect multiple arguments. IPC->awaitpid_init now allows pre-registering callbacks before spawning workers.
Diffstat (limited to 'script')
-rwxr-xr-x | script/public-inbox-clone | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/public-inbox-clone b/script/public-inbox-clone index e93ac37b..598979bc 100755 --- a/script/public-inbox-clone +++ b/script/public-inbox-clone @@ -62,5 +62,5 @@ my $mrr = bless { $? = 0; $mrr->do_mirror; -$mrr->can('_wq_done_wait')->([$mrr, $lei], $$); +$mrr->can('_wq_done_wait')->($$, $mrr, $lei); exit(($lei->{child_error} // 0) >> 8); |