The intent was probably to log the returncode here too
This commit is contained in:
parent
0152852eb4
commit
cb9ceba2f8
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user