wrong var name
This commit is contained in:
parent
d2f92dad86
commit
30a9e1fc58
@ -202,7 +202,7 @@ class Backup(object):
|
|||||||
if _returncode != 0:
|
if _returncode != 0:
|
||||||
self.logger.error('[{0}]: FAILED: {1}'.format(r, ' '.join(_cmd)))
|
self.logger.error('[{0}]: FAILED: {1}'.format(r, ' '.join(_cmd)))
|
||||||
if _stderr != '' and self.cron and _returncode != 0:
|
if _stderr != '' and self.cron and _returncode != 0:
|
||||||
self.logger.warning('Command {0} failed: {1}'.format(' '.join(cmd), _err))
|
self.logger.warning('Command {0} failed: {1}'.format(' '.join(_cmd), _err))
|
||||||
del(_env['BORG_PASSPHRASE'])
|
del(_env['BORG_PASSPHRASE'])
|
||||||
self.logger.info('[{0}]: END BACKUP'.format(r))
|
self.logger.info('[{0}]: END BACKUP'.format(r))
|
||||||
self.logger.info('END: backup')
|
self.logger.info('END: backup')
|
||||||
|
Loading…
Reference in New Issue
Block a user