Commit de09438a authored by Jacob Vosmaer's avatar Jacob Vosmaer

Use Ruby instead of the Bourne shell

parent 633042fd
......@@ -47,6 +47,6 @@ class GitlabKeys
end
def clear
system("echo '# Managed by gitlab-shell' > #{auth_file}")
open(auth_file, 'w') { |file| file.puts '# Managed by gitlab-shell' }
end
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment