skip over nonexisting paths
This commit is contained in:
parent
d7f6a4f013
commit
55b1fc5e71
@ -306,7 +306,8 @@ class Backup(object):
|
|||||||
repo['name'],
|
repo['name'],
|
||||||
self.args['archive']))
|
self.args['archive']))
|
||||||
for p in repo['path']:
|
for p in repo['path']:
|
||||||
_cmd.append(p)
|
if os.path.exists(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
|
||||||
# pass the env and format the log line differently.
|
# pass the env and format the log line differently.
|
||||||
|
Loading…
Reference in New Issue
Block a user