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