2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-30 09:36:41 +00:00

delete loop statement to make code succinctly

This commit is contained in:
hu-weihua 2016-03-07 04:01:42 -05:00
parent a42188d396
commit 12a3879a96

View File

@ -736,7 +736,7 @@ sub do_test {
$batbundle="le_ubuntu_cmd.bundle" if($mn =~ /ubuntuEL/);
}
if(($mn !~ /ubuntu/) && ($mn !~ /E/)){
for(my $loop=0; $loop<1; $loop++){
{
my $rc;
#diskfull installation in flat mode test
@ -845,7 +845,7 @@ sub do_test {
$casestop=0;
}
}else{
for(my $loop=0; $loop<1; $loop++){
{
my $rc=0;
#diskless installation in flat mode test