six-rsync 0.1.7 → 0.1.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/Rakefile +1 -1
- data/lib/six/rsync/lib.rb +2 -1
- data/lib/six/rsync.rb +1 -1
- metadata +1 -1
data/Rakefile
CHANGED
data/lib/six/rsync/lib.rb
CHANGED
|
@@ -801,7 +801,8 @@ module Six
|
|
|
801
801
|
}
|
|
802
802
|
# FIXME: This doesn't work with the new popen or is there a way?
|
|
803
803
|
if s.exitstatus > 0
|
|
804
|
-
|
|
804
|
+
@logger.debug "Exitstatus: #{s.exitstatus}"
|
|
805
|
+
if (s.exitstatus == 1 && out.size == 0) || s.exitstatus == 5
|
|
805
806
|
return ''
|
|
806
807
|
end
|
|
807
808
|
raise Rsync::RsyncExecuteError.new(rsync_cmd + ':' + out.to_s)
|
data/lib/six/rsync.rb
CHANGED