From cb9ceba2f80d9b5362fecb4153828c740203a51b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9mie=20Courr=C3=A8ges-Anglas?= Date: Fri, 15 May 2015 11:47:40 +0200 Subject: [PATCH] The intent was probably to log the returncode here too --- libtisbackup/backup_rsync.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libtisbackup/backup_rsync.py b/libtisbackup/backup_rsync.py index 226f63f..4885a08 100644 --- a/libtisbackup/backup_rsync.py +++ b/libtisbackup/backup_rsync.py @@ -185,7 +185,7 @@ class backup_rsync(backup_generic): elif (returncode == 23): self.logger.warning("[" + self.backup_name + "] unable so set uid on some files") elif (returncode != 0): - self.logger.error("[" + self.backup_name + "] shell program exited with error code ") + self.logger.error("[" + self.backup_name + "] shell program exited with error code " + str(returncode)) raise Exception("[" + self.backup_name + "] shell program exited with error code " + str(returncode), cmd) else: print cmd