mirror of
https://github.com/webmin/webmin.git
synced 2026-03-20 16:50:24 +00:00
Using _ seems risky
This commit is contained in:
@@ -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++;
|
||||
|
||||
Reference in New Issue
Block a user