From 7227d5882471e32858e460043e2dd69b4a926d4a Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Tue, 17 Sep 2019 08:31:18 +0000 Subject: qspawn: remove return value from ->finish We don't use the return value in real code since we do waitpid asynchronously, now. So simplify our runtime code at the cost of making our test slighly more complex. --- lib/PublicInbox/Qspawn.pm | 1 - 1 file changed, 1 deletion(-) (limited to 'lib/PublicInbox/Qspawn.pm') diff --git a/lib/PublicInbox/Qspawn.pm b/lib/PublicInbox/Qspawn.pm index 54976b00..6b350f0f 100644 --- a/lib/PublicInbox/Qspawn.pm +++ b/lib/PublicInbox/Qspawn.pm @@ -141,7 +141,6 @@ sub finish ($;$) { _do_spawn(@$next); } } - $self->{err}; # may be meaningless if non-blocking } sub start { -- cgit v1.2.3-24-ge0c7