diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-02-18 21:56:35 +0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-02-18 21:56:35 +0400 |
commit | ea28519f5704c8dab74cba4d1e2039331504aafd (patch) | |
tree | 2efeeccb6bd080f37355e0bb844f40e9a44a1f61 /app | |
parent | 97de6f851b54e87f5a01f9bbc16ce64464c88579 (diff) | |
parent | c20be05a8075217db5ec2c0f6b6a6072b422268f (diff) |
Merge pull request #2996 from raphendyr/ssh_fingerprint_fix
Ssh fingerprint fix
Diffstat (limited to 'app')
-rw-r--r-- | app/models/key.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/key.rb b/app/models/key.rb index 64441ea54eb..edb0bcd61fd 100644 --- a/app/models/key.rb +++ b/app/models/key.rb @@ -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 |