diff --git a/storage/backups/borg/backup.py b/storage/backups/borg/backup.py index 5023631..98571d9 100755 --- a/storage/backups/borg/backup.py +++ b/storage/backups/borg/backup.py @@ -202,7 +202,7 @@ class Backup(object): if _returncode != 0: self.logger.error('[{0}]: FAILED: {1}'.format(r, ' '.join(_cmd))) 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), _stderr)) del(_env['BORG_PASSPHRASE']) self.logger.info('[{0}]: END BACKUP'.format(r)) self.logger.info('END: backup')