Permalink
Browse files

better error message in clean-whitespaces.pl

  • Loading branch information...
1 parent 890dfb7 commit 2d5ce8b1bb02cde15a9580aed9ce4f667be93085 @ladypine committed Aug 22, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 devtools/clean-whitespace.pl
@@ -18,7 +18,7 @@
}
foreach my $f (@files) {
- open(my $fh, $f) or die;
+ open(my $fh, $f) or die "Could not open a file for write $f\n";
my $before = do { local $/; <$fh>; };
close ($fh);
my $after = $before;

0 comments on commit 2d5ce8b

Please sign in to comment.