fix defect: 3157028 lsdef -a could not list other objects except node

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8671 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
yinle 2011-01-15 07:30:37 +00:00
parent abf34b0acb
commit 6930f17ceb

View File

@ -2914,6 +2914,8 @@ sub defls
if ( $hidhash->{hidden} ne 1) {
push (@{$newrsp->{data}}, $n);
}
}else{
push (@{$newrsp->{data}}, $n);
}
}
if (defined($newrsp->{data}) && scalar(@{$newrsp->{data}}) > 0) {