Merge pull request #2996 from raphendyr/ssh_fingerprint_fix
Ssh fingerprint fix
This commit is contained in:
commit
ea28519f57
5 changed files with 17 additions and 4 deletions
|
@ -45,7 +45,7 @@ class Key < ActiveRecord::Base
|
|||
file.close
|
||||
file.unlink # deletes the temp file
|
||||
end
|
||||
errors.add(:key, "can't be fingerprinted") if fingerprint_output.match("failed")
|
||||
errors.add(:key, "can't be fingerprinted") if $?.exitstatus != 0
|
||||
end
|
||||
|
||||
def set_identifier
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue