mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-07-30 08:11:20 +00:00
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:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user