From: Eric Wong Date: Sun, 28 Feb 2016 04:27:10 +0000 (+0000) Subject: spawnpp: fix error message for stderr redirect failing X-Git-Tag: v1.0.0~695 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a4243710b01eee8e20b2d66fd81f810b9307bed5;p=thirdparty%2Fpublic-inbox.git spawnpp: fix error message for stderr redirect failing Oops :x --- diff --git a/lib/PublicInbox/SpawnPP.pm b/lib/PublicInbox/SpawnPP.pm index ae552dd8d..1a402e422 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) {