mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-06-13 09:50:19 +00:00
defined(@array) is deprecated
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14501 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
@ -164,7 +164,7 @@ sub gethmccon {
|
||||
$host = $att->{hcp};
|
||||
}
|
||||
my @cred = xCAT::PPCdb::credentials( $host, $hwtype );
|
||||
if ( !defined(@cred) )
|
||||
if ( !(@cred) )
|
||||
{
|
||||
$rsp->{node}->[0]->{error}=["Can't username and passwd for the ivm"];
|
||||
$rsp->{node}->[0]->{errorcode}=[1];
|
||||
|
Reference in New Issue
Block a user