defined(@array) is deprecated
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14504 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
881d61a68a
commit
715a5251b6
@ -184,7 +184,7 @@ sub rmosdistro
|
||||
if($all)
|
||||
{
|
||||
my @result=$osdistrotab->getAllAttribs('osdistroname');
|
||||
if(defined(@result) and scalar @result >0)
|
||||
if(@result and scalar @result >0)
|
||||
{
|
||||
foreach(@result)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user