fix bugs 3316669

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9978 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
zhaoertao 2011-06-29 08:31:02 +00:00
parent 3c43abf5c3
commit f3ec1f9d4c

View File

@ -580,7 +580,7 @@ sub lsvm_parse_args {
sub modify {
my $request = shift;
my $hash = shift;
return modify_by_prof( $request, $hash) if ( $request->{opt}->{p});
return modify_by_prof( $request, $hash) if ( $request->{opt}->{p} || $request->{stdin});
return create( $request, $hash) if ( $request->{opt}->{i});
return ([["Error", "Miss argument"]]);
}