-Correct misleading error message in defect 3082343

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7808 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2010-10-11 13:18:50 +00:00
parent 21b04f50ea
commit 245a05e7cc

View File

@ -240,8 +240,9 @@ sub mkinstall
my $arch = $ent->{arch};
my $profile = $ent->{profile};
if ($os eq "imagex") {
unless ( -r "$installroot/images/$arch/$profile.wim" ) {
$callback->({error=>["$installroot/images/$profile.$arch.wim not found, run rimage on a node to capture first"],errorcode=>[1]});
my $wimfile="$installroot/images/$arch/$profile.wim";
unless ( -r $wimfile ) {
$callback->({error=>["$wimfile not found, run rimage on a node to capture first"],errorcode=>[1]});
next;
}
my $script=applyimagescript($arch,$profile);