From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-2.9 required=3.0 tests=ALL_TRUSTED,AWL,BAYES_00 shortcircuit=no autolearn=unavailable version=3.3.2 X-Original-To: meta@public-inbox.org Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 985B720310 for ; Sun, 28 Feb 2016 04:27:10 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH] spawnpp: fix error message for stderr redirect failing Date: Sun, 28 Feb 2016 04:27:10 +0000 Message-Id: <20160228042710.9994-1-e@80x24.org> List-Id: Oops :x --- lib/PublicInbox/SpawnPP.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/PublicInbox/SpawnPP.pm b/lib/PublicInbox/SpawnPP.pm index ae552dd..1a402e4 100644 --- a/lib/PublicInbox/SpawnPP.pm +++ b/lib/PublicInbox/SpawnPP.pm @@ -17,7 +17,7 @@ sub public_inbox_fork_exec ($$$$$$) { dup2($out, 1) or die "dup2 failed for stdout: $!"; } if ($err != 2) { - dup2($err, 2) or die "dup2 failed for stderr$!"; + dup2($err, 2) or die "dup2 failed for stderr: $!"; } %ENV = (); foreach my $e (@$env) { -- EW