Fixed a rbootseq error which forked thousands of rbootseq processes.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9343 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
wanghuaz 2011-04-19 07:03:38 +00:00
parent 255cce79d4
commit d3dac14add

View File

@ -81,11 +81,11 @@ sub parse_args {
}
if( $ARGV[0] =~/^hfi$/) {
$opt{hfi} = 1;
}
if( $ARGV[0] =~/^net$/) {
$opt{net} = 1;
$opt{hfi} = 1;
} elsif ( $ARGV[0] =~/^net$/) {
$opt{net} = 1;
} else {
return(usage( "Invalid Argument: $ARGV[0]" ));
}
shift @ARGV;