Sync with last changes in backup_rsync.py
This commit is contained in:
parent
8711610053
commit
e3e58d8963
@ -200,8 +200,8 @@ class backup_rsync_btrfs(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 ")
|
||||
raise Exception("[" + self.backup_name + "] shell program exited with error code " + str(returncode), cmd)
|
||||
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, log[-512:])
|
||||
else:
|
||||
print cmd
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user