From df495079b8e5e31fbd59360efda6a743b1c81da9 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sun, 21 Oct 2007 01:15:42 -0400 Subject: [PATCH 1/1] minor wording improvements --- mr | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mr b/mr index 1aee75a..dd55fb8 100755 --- a/mr +++ b/mr @@ -580,9 +580,9 @@ sub mrs { #{{{ pipe(my $outfh, CHILD_STDOUT); pipe(my $errfh, CHILD_STDERR); unless (my $pid = fork) { - die "cannot fork: $!" unless defined $pid; - open(STDOUT, ">&CHILD_STDOUT") || die "reopen stdout: $!"; - open(STDERR, ">&CHILD_STDERR") || die "reopen stderr: $!"; + die "mr $action: cannot fork: $!" unless defined $pid; + open(STDOUT, ">&CHILD_STDOUT") || die "mr $action cannot reopen stdout: $!"; + open(STDERR, ">&CHILD_STDERR") || die "mr $action cannot reopen stderr: $!"; close CHILD_STDOUT; close CHILD_STDERR; close $outfh; -- 2.39.5