]> Sergey Matveev's repositories - public-inbox.git/commitdiff
spawnpp: fix error message for stderr redirect failing
authorEric Wong <e@80x24.org>
Sun, 28 Feb 2016 04:27:10 +0000 (04:27 +0000)
committerEric Wong <e@80x24.org>
Sun, 28 Feb 2016 04:27:36 +0000 (04:27 +0000)
Oops :x

lib/PublicInbox/SpawnPP.pm

index ae552dd8d93dbbd800ad26be782e68c043964c05..1a402e4222d0d30f30aae11414ec2a2e939eca06 100644 (file)
@@ -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) {