diff --git a/xCAT-server/lib/xcat/plugins/anaconda.pm b/xCAT-server/lib/xcat/plugins/anaconda.pm index c7f5b07d2..66814f321 100644 --- a/xCAT-server/lib/xcat/plugins/anaconda.pm +++ b/xCAT-server/lib/xcat/plugins/anaconda.pm @@ -983,14 +983,13 @@ sub mkinstall if ( $ref1 and $ref1->{'partitionfile'}){ $partfile = $ref1->{'partitionfile'}; } - - #can not find the linux osiamge object, tell users to run "nodeset osimage=***" - else { + } + #can not find the linux osiamge object, tell users to run "nodeset osimage=***" + else { $callback->( { error => [qq{ Cannot find the linux image called "$imgname", maybe you need to use the "nodeset osimage=" command to set the boot state}], errorcode => [1] } ); } - } } my @missingparms;