fixed the case that import sshkey failed,but no error message
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12519 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
7c14981e7e
commit
8cf075b62d
@ -4729,6 +4729,8 @@ sub sshcfg {
|
||||
return([1,"Maximum number of SSH keys reached for this chassis"]);
|
||||
}
|
||||
return([1,$data[0]]);
|
||||
} elsif (! grep /OK/, @data) {
|
||||
return([1,$data[0]]);
|
||||
}
|
||||
# Enable ssh on MM
|
||||
@data = $t->cmd("ports -sshe on -T system:$mm");
|
||||
|
Loading…
Reference in New Issue
Block a user