From: Joey Hess Date: Sun, 21 Oct 2007 05:15:42 +0000 (-0400) Subject: minor wording improvements X-Git-Url: https://git.madduck.net/code/myrepos.git/commitdiff_plain/df495079b8e5e31fbd59360efda6a743b1c81da9 minor wording improvements --- 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;