defect 3373326: display a message and continue if no repository was created in the kerneldir

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10191 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
daniceexi 2011-07-29 06:39:39 +00:00
parent 16dabf7e25
commit dc60d160c0

View File

@ -183,7 +183,6 @@ unless ($onlyinitrd) {
find(\&isyumdir, <$kerneldir/>);
if (!grep /$kerneldir/, @yumdirs) {
print "The repository for $kerneldir should be created before running the geniamge. Try to run [createrepo $kerneldir].\n";
exit 1;
}
}
unless (scalar(@yumdirs)) {