fix defect 3431769

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10951 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
ellen56 2011-11-01 09:39:28 +00:00
parent e2cfa27c56
commit 9ecd7a9d7e

View File

@ -418,8 +418,8 @@ unless ($onlyinitrd) {
}
if($pkgnames ne ' ')
{
print "$envlist $yumcmd -t pattern $group_pkgnames\n";
$rc = system("$envlist $yumcmd -t pattern $group_pkgnames");
print "$envlist $yumcmd -t pattern $pkgnames\n";
$rc = system("$envlist $yumcmd -t pattern $pkgnames");
$rc = $rc >> 8;
if (($rc) && ($rc != '104')) {
print "zypper invocation failed with rc: $rc\n";