2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2026-05-14 02:14:18 +00:00

fix 4545,restart xcatd hang due to perl syntax error in low perl version 5.10.x

This commit is contained in:
chudegao
2015-02-04 10:18:26 +08:00
parent 60a3a58f91
commit 952757ee61
+1 -1
View File
@@ -1434,7 +1434,7 @@ sub cal_netboot{
return 0;
}
my $condition = shift $condition_array_ref;
my $condition = shift @$condition_array_ref;
if( (exists($netboot_dict_ref->{$condition})) || (exists($netboot_dict_ref->{'*'})) )
{
if(!exists($netboot_dict_ref->{$condition}))