six-rsync 0.1.7 → 0.1.8
Sign up to get free protection for your applications and to get access to all the features.
- 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