about summary refs log tree commit homepage
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/PublicInbox/GitHTTPBackend.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/PublicInbox/GitHTTPBackend.pm b/lib/PublicInbox/GitHTTPBackend.pm
index 9c32535b..58799707 100644
--- a/lib/PublicInbox/GitHTTPBackend.pm
+++ b/lib/PublicInbox/GitHTTPBackend.pm
@@ -139,7 +139,7 @@ sub serve_smart {
                 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 @@ sub serve_smart {
         }
         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};