From 659a651aa294c335e519b4c72bbd052b3199a793 Mon Sep 17 00:00:00 2001 From: Patrick J Cherry Date: Tue, 31 Jan 2017 12:12:23 +0000 Subject: First pass with rubocop --- bin/byteback-setup-client-receive | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/byteback-setup-client-receive') 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}" -- cgit v1.2.1