mirror of
https://github.com/franjsco/rsync-linux-home
synced 2025-06-27 09:03:11 +02:00
Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
6c56165846 |
@ -95,10 +95,12 @@ def execute_backup(cmd):
|
||||
print("> Backup Aborted")
|
||||
print('Error rsync')
|
||||
print("Exit code: {}".format(sperror.args[0]))
|
||||
exit(sperror.args[0])
|
||||
except Exception as exception:
|
||||
print("> Backup Aborted")
|
||||
print('Error')
|
||||
print(exception)
|
||||
exit(1)
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user