mirror of
https://github.com/psy0rz/zfs_autobackup.git
synced 2025-04-11 22:40:01 +03:00
bugfix: exitcode always was 255
This commit is contained in:
parent
3907c850a6
commit
67b21b4015
@ -818,7 +818,7 @@ try:
|
||||
else:
|
||||
verbose("{} OPERATION(S) FAILED!".format(failures))
|
||||
#exit with the number of failures.
|
||||
sys.exit(min(255,failed))
|
||||
sys.exit(min(255,failures))
|
||||
|
||||
except Exception as e:
|
||||
if args.debug:
|
||||
|
Loading…
x
Reference in New Issue
Block a user