From 26a330f6ddb46884463da8e951cf9468f41b4884 Mon Sep 17 00:00:00 2001 From: xq2005 Date: Wed, 11 Jul 2012 07:39:59 +0000 Subject: [PATCH] fix bug for specify partion file git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13272 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/sles.pm | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/xCAT-server/lib/xcat/plugins/sles.pm b/xCAT-server/lib/xcat/plugins/sles.pm index 055ffac67..ae7e49afb 100644 --- a/xCAT-server/lib/xcat/plugins/sles.pm +++ b/xCAT-server/lib/xcat/plugins/sles.pm @@ -749,12 +749,11 @@ sub mkinstall if ( $ref1 and $ref1->{'partitionfile'}){ $partfile = $ref1->{'partitionfile'}; } - - 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] } + } + 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] } ); - } } }