Using _ seems risky

This commit is contained in:
Jamie Cameron
2025-01-14 15:40:10 -08:00
parent edccfc4533
commit 27ac760466

View File

@@ -6937,7 +6937,7 @@ if (exists($main::locked_file_data{$realfile})) {
# is a file, or has changed type?!
my ($diff, $delete_file);
my $type = "modify";
if (!-r _) {
if (!-e $realfile) {
open(NEWFILE, ">$realfile");
close(NEWFILE);
$delete_file++;