mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-06 05:22:40 +00:00
aplinfo: remove leftover cruft
this was probably missed in a previous refactoring, the filehandle is only opened and closed here and read_aplinfo() already opens and closes the file itself.
This commit is contained in:
parent
868801cb22
commit
36b9245739
@ -180,10 +180,7 @@ sub download_aplinfo {
|
||||
|
||||
# test syntax
|
||||
eval {
|
||||
my $fh = IO::File->new("<$tmp") ||
|
||||
die "unable to open file '$tmp' - $!\n";
|
||||
read_aplinfo($tmp, {}, $aplurl, 1);
|
||||
close($fh);
|
||||
};
|
||||
die "update failed: $@" if $@;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user