lib/fulmar/infrastructure/model/transfer/rsync.rb in fulmar-2.1.1 vs lib/fulmar/infrastructure/model/transfer/rsync.rb in fulmar-2.1.2

- old
+ new

@@ -25,10 +25,10 @@ if @config[:rsync][:exclude_file].blank? && File.exist?(@config[:local_path] + '/.rsyncignore') @config[:rsync][:exclude_file] = @config[:local_path] + '/.rsyncignore' end - fail 'Hostname not set. Cannot initialize sync.' if @config[:hostname].empty? + fail 'Hostname not set. Cannot initialize sync.' if @config[:hostname].nil? || @config[:hostname].empty? super(@config) end def transfer