Broke "rspconfig cmd=arg" syntax w/ change 1008 - Line #1335
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1009 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
b91509ed4a
commit
6818c2d341
@ -1352,14 +1352,15 @@ sub telnetcmds {
|
||||
|
||||
foreach my $cmd (@_) {
|
||||
if ($cmd =~ /=/) {
|
||||
($cmd,$value) = split /=/,$cmd;
|
||||
if (grep(/^$cmd$/,@tcmds)) {
|
||||
$handled{$cmd} = $value;
|
||||
my ($command,$value) = split /=/,$cmd;
|
||||
if (grep(/^$command$/,@tcmds)) {
|
||||
$handled{$command} = $value;
|
||||
next;
|
||||
}
|
||||
}
|
||||
}
|
||||
push @unhandled,$cmd;
|
||||
}
|
||||
|
||||
if (!defined(%handled)) {
|
||||
return(@unhandled);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user