Skip to content

Commit

Permalink
Add --safe-links rsync option
Browse files Browse the repository at this point in the history
  • Loading branch information
AMDmi3 committed Aug 10, 2018
1 parent 68a415e commit ee849f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion repology/fetchers/fetchers/rsync.py
Expand Up @@ -32,5 +32,5 @@ def fetch(self, statepath, update=True, logger=NoopLogger()):
logger.Log('no update requested, skipping')
return

command = ['rsync', '--verbose', '--archive', '--compress', '--delete', '--delete-excluded', '--timeout', str(self.fetch_timeout), self.url, statepath]
command = ['rsync', '--verbose', '--archive', '--compress', '--delete', '--delete-excluded', '--safe-links', '--timeout', str(self.fetch_timeout), self.url, statepath]
RunSubprocess(command, logger)

0 comments on commit ee849f9

Please sign in to comment.