diff options
author | Jacob Vosmaer <contact@jacobvosmaer.nl> | 2014-02-25 12:00:33 +0100 |
---|---|---|
committer | Jacob Vosmaer <contact@jacobvosmaer.nl> | 2014-02-25 12:00:33 +0100 |
commit | 36c2c354fc4829827960d202a070f8e7b87c9446 (patch) | |
tree | 428d2133f96d07ca67304ab18defe4a1e7ab0442 /app/models/key.rb | |
parent | 38f4b61a588ffd515496a04663a2f3fa9178d161 (diff) | |
download | gitlab-ce-36c2c354fc4829827960d202a070f8e7b87c9446.tar.gz |
Adapt use of Gitlab::Popen to new style
Diffstat (limited to 'app/models/key.rb')
-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 79f7bbd2590..29a76f53f3d 100644 --- a/app/models/key.rb +++ b/app/models/key.rb @@ -53,7 +53,7 @@ class Key < ActiveRecord::Base Tempfile.open('gitlab_key_file') do |file| file.puts key file.rewind - cmd_output, cmd_status = popen("ssh-keygen -lf #{file.path}", '/tmp') + cmd_output, cmd_status = popen(%W(ssh-keygen -lf #{file.path}), '/tmp') end if cmd_status.zero? |