lib/PublicInbox/GitHTTPBackend.pm | 6 +++--- diff --git a/lib/PublicInbox/GitHTTPBackend.pm b/lib/PublicInbox/GitHTTPBackend.pm index 9c32535bb70ad414195017729e73fd448d84054e..58799707af73c49bd806eeed6cdcb5e959223993 100644 --- a/lib/PublicInbox/GitHTTPBackend.pm +++ b/lib/PublicInbox/GitHTTPBackend.pm @@ -139,7 +139,7 @@ $in = IO::File->new_tmpfile; while (1) { my $r = $input->read($buf, 8192); unless (defined $r) { - $err->print('error reading input: ', $!, "\n"); + $err->print("error reading input: $!\n"); return r(500); } last if ($r == 0); @@ -150,12 +150,12 @@ $in->sysseek(0, SEEK_SET); } my ($rpipe, $wpipe); unless (pipe($rpipe, $wpipe)) { - $err->print('error creating pipe', $!, "\n"); + $err->print("error creating pipe: $!\n"); return r(500); } my $pid = fork; # TODO: vfork under Linux... unless (defined $pid) { - $err->print('error forking: ', $!, "\n"); + $err->print("error forking: $!\n"); return r(500); } my $git_dir = $git->{git_dir};