forked from public-mirrors/BorgExtend
skip over nonexisting paths
This commit is contained in:
parent
d7f6a4f013
commit
55b1fc5e71
1 changed files with 2 additions and 1 deletions
|
|
@ -306,6 +306,7 @@ class Backup(object):
|
||||||
repo['name'],
|
repo['name'],
|
||||||
self.args['archive']))
|
self.args['archive']))
|
||||||
for p in repo['path']:
|
for p in repo['path']:
|
||||||
|
if os.path.exists(p):
|
||||||
_cmd.append(p)
|
_cmd.append(p)
|
||||||
self.logger.debug('VARS: {0}'.format(vars()))
|
self.logger.debug('VARS: {0}'.format(vars()))
|
||||||
# We don't use self.cmdExec() here because we want to explicitly
|
# We don't use self.cmdExec() here because we want to explicitly
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue