mirror of
https://git.proxmox.com/git/pve-common
synced 2025-07-27 00:11:47 +00:00
code cleanup
This commit is contained in:
parent
b21320547b
commit
b192b93018
@ -145,8 +145,7 @@ sub lock_file_full {
|
|||||||
$err = $@;
|
$err = $@;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($lock_handles->{$$}->{$filename}) {
|
if (my $fh = $lock_handles->{$$}->{$filename}) {
|
||||||
my $fh = $lock_handles->{$$}->{$filename};
|
|
||||||
$lock_handles->{$$}->{$filename} = undef;
|
$lock_handles->{$$}->{$filename} = undef;
|
||||||
close ($fh);
|
close ($fh);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user