From: Eric Wong <e@80x24.org>
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://www.git.stargrave.org/?a=commitdiff_plain;h=a4243710b01eee8e20b2d66fd81f810b9307bed5;p=public-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 ae552dd8..1a402e42 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) {