Fix bug 2726344
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3073 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
b89478cd64
commit
a47143fedf
@ -73,12 +73,18 @@ sub preprocess_request {
|
||||
}
|
||||
if ($::LOCAL) {
|
||||
if ($noderange && @$noderange>0) {
|
||||
$callback->({data=>"Invalide option -l or --local when there are nodes specofied."});
|
||||
$callback->({data=>"Invalide option -l or --local when there are nodes specified."});
|
||||
$request = {};
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if(exists($ARGV[0])){
|
||||
$callback->({data=>"Invalide option $ARGV[0] specified."});
|
||||
$request = {};
|
||||
return;
|
||||
}
|
||||
|
||||
# get site master
|
||||
my $master=xCAT::Utils->get_site_Master();
|
||||
if (!$master) { $master=hostname(); }
|
||||
|
Loading…
Reference in New Issue
Block a user