2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-22 11:42:05 +00:00

Modify the error information for --check and --ipsource for bmcdiscover

This commit is contained in:
ertaozh 2017-11-13 03:44:11 -05:00
parent 031baf5940
commit 64e831d7ee

View File

@ -107,11 +107,11 @@ sub preprocess_request {
}
return \@requests;
} elsif (grep /--check/, @ARGV) {
$callback->({ error => ["The option '--check' is not supported at present"], errorcode=>[1]});
$callback->({ error => ["The option '--check' is not supported"], errorcode=>[1]});
$request = ();
return;
} elsif (grep /--ipsource/, @ARGV) {
$callback->({ error => ["The option '--ipsource' is not supported at present"], errorcode=>[1]});
$callback->({ error => ["The option '--ipsource' is not supported"], errorcode=>[1]});
$request = ();
return;
} else {