missed one

This commit is contained in:
brent s 2017-10-26 06:30:33 -04:00
parent e41b3f5ab3
commit 7ffde14257

View File

@ -373,7 +373,7 @@ class Backup(object):
self.logger.error('[{0}]: STDERR: ({2}) ({1})'.format(r, self.logger.error('[{0}]: STDERR: ({2}) ({1})'.format(r,
_stderr, _stderr,
' '.join(_cmd))) ' '.join(_cmd)))
if _err != '' 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'])
if not self.args['archive']: if not self.args['archive']: