From 0d29ab3bd24b8f09c3a4719d53b41f26ba0d66ad Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Fri, 9 Sep 2011 14:18:11 +0200 Subject: [PATCH] fix build error --- PVE/QemuServer.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm index cc5e1506..19a1947e 100644 --- a/PVE/QemuServer.pm +++ b/PVE/QemuServer.pm @@ -1626,7 +1626,7 @@ sub check_local_resources { $loc_res = 1 if $conf->{serial}; $loc_res = 1 if $conf->{parallel}; - foreach $k (keys %$conf) { + foreach my $k (keys %$conf) { $loc_res = 1 if $k =~ m/^(usb|pci)\d+$/; }