xdsh adding an undef entry on the returned data, causes syntax error in runxcmd you only see under bypass mode

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13719 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
lissav 2012-09-05 17:22:11 +00:00
parent bdb522e621
commit aff28da21d

View File

@ -756,7 +756,7 @@ sub xdsh
for ($j = 0 ; $j < $maxlines ; $j++)
{
if ($i > $arraylen)
if ($i >= $arraylen)
{
last;
}