Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-02-18 21:56:35 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-02-18 21:56:35 +0400
commitea28519f5704c8dab74cba4d1e2039331504aafd (patch)
tree2efeeccb6bd080f37355e0bb844f40e9a44a1f61 /app
parent97de6f851b54e87f5a01f9bbc16ce64464c88579 (diff)
parentc20be05a8075217db5ec2c0f6b6a6072b422268f (diff)
Merge pull request #2996 from raphendyr/ssh_fingerprint_fix
Ssh fingerprint fix
Diffstat (limited to 'app')
-rw-r--r--app/models/key.rb2
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