six-rsync 0.6.3 → 0.6.4
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 +7 -2
- data/lib/six/rsync.rb +1 -1
- metadata +2 -2
data/Rakefile
CHANGED
data/lib/six/rsync/lib.rb
CHANGED
@@ -428,7 +428,12 @@ module Six
|
|
428
428
|
load_repos(:remote)
|
429
429
|
end
|
430
430
|
|
431
|
-
|
431
|
+
unless done
|
432
|
+
@logger.warn "Exhausted all mirrors, please retry!"
|
433
|
+
raise RsyncError
|
434
|
+
end
|
435
|
+
|
436
|
+
if online
|
432
437
|
@logger.info "Verifying Packed files..."
|
433
438
|
compare_set(:pack, host)
|
434
439
|
|
@@ -862,7 +867,7 @@ module Six
|
|
862
867
|
msg = buff.join("")
|
863
868
|
print msg if @verbose
|
864
869
|
end
|
865
|
-
pid, status = $?.pid, $?.
|
870
|
+
pid, status = $?.pid, $?.exitstatus
|
866
871
|
end
|
867
872
|
|
868
873
|
|
data/lib/six/rsync.rb
CHANGED