Skip to content

Commit

Permalink
make wp-get-dumps fail if rsync does
Browse files Browse the repository at this point in the history
  • Loading branch information
reidpr committed Feb 19, 2015
1 parent 33396bb commit 6037093
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bin/wp-get-dumps
Expand Up @@ -47,7 +47,9 @@ def main():
for pattern in c.getlist('wkpd', 'dumps'):
includes.append('/%s/latest/%s-latest-%s'
% (project, project, pattern))
rsync.byinclude(mirror_url, dump_dir, bwlimit, includes, args.verbose)
if (not rsync.byinclude(mirror_url, dump_dir, bwlimit,
includes, args.verbose)):
u.abort('rsync failed')
l.info('done')


Expand Down

0 comments on commit 6037093

Please sign in to comment.