From 804a312b41fb5ca68da687f406abff506f7fe226 Mon Sep 17 00:00:00 2001 From: Matthew Bloch Date: Wed, 8 Jan 2014 14:19:28 +0000 Subject: Bug fixes after testing. --- byteback-receive | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'byteback-receive') diff --git a/byteback-receive b/byteback-receive index 1d87f6f..05e6a7c 100755 --- a/byteback-receive +++ b/byteback-receive @@ -3,6 +3,8 @@ # Program to receive backups and run rsync in receive mode. Must check that # user as authorised by SSH is allowed to access particular directory. +#STDERR.print ARGV.inspect + "\n" + require 'trollop' def error(message) @@ -16,7 +18,7 @@ if ENV['SSH_ORIGINAL_COMMAND'] ARGV.concat(ENV['SSH_ORIGINAL_COMMAND'].split(" ")) end -#STDERR.print "after ARGV=#{ARGV.inspect}" +#STDERR.print "after ARGV=#{ARGV.inspect}\n" byteback_host = ENV['BYTEBACK_HOST'] error("BYTEBACK_HOST environment not set") unless byteback_host -- cgit v1.2.3