diff options
author | Patrick J Cherry <patrick@bytemark.co.uk> | 2017-01-31 12:12:23 +0000 |
---|---|---|
committer | Patrick J Cherry <patrick@bytemark.co.uk> | 2017-01-31 12:12:23 +0000 |
commit | 659a651aa294c335e519b4c72bbd052b3199a793 (patch) | |
tree | a36a95dd652717624034c553bf18c7d66156ccf5 /bin/byteback-setup-client-receive | |
parent | 38c89a9e32a67f96b40d756a5c356f8c31247ab9 (diff) |
First pass with rubocoprubocop
Diffstat (limited to 'bin/byteback-setup-client-receive')
-rwxr-xr-x | bin/byteback-setup-client-receive | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/byteback-setup-client-receive b/bin/byteback-setup-client-receive index 528ccc9..0afc595 100755 --- a/bin/byteback-setup-client-receive +++ b/bin/byteback-setup-client-receive @@ -44,7 +44,7 @@ if File.exist?('.ssh/authorized_keys') && else File.open('.ssh/authorized_keys', 'a+') do |fh| - fh.print <<-LINE.gsub(/\n/, '') + "\n" + fh.print <<-LINE.delete("\n") + "\n" command="byteback-receive", from="#{@client_ip}", environment="BYTEBACK_HOST=#{@hostname}" |