Skip to content

Commit

Permalink
Use $Program to report filename
Browse files Browse the repository at this point in the history
  • Loading branch information
briandfoy committed Jul 7, 2023
1 parent 504caa9 commit fb9b121
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/cmp
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ use File::Basename;
my $Program = basename($0);

END {
close STDOUT || die "$0: can't close stdout: $!\n";
close STDOUT || die "$Program: can't close stdout: $!\n";
$? = 1 if $? == 255; # from die
}

Expand Down

0 comments on commit fb9b121

Please sign in to comment.