Skip to content

Commit

Permalink
fix #153 (attempt 2)
Browse files Browse the repository at this point in the history
  • Loading branch information
psy0rz committed Jul 4, 2022
1 parent 61258bc commit aa19678
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zfs_autobackup/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ def cli():

zfs_autobackup = ZfsAutobackup(sys.argv[1:], False)
failed_datasets=zfs_autobackup.run()
sys.exit(max(failed_datasets,255))
sys.exit(min(failed_datasets,255))

0 comments on commit aa19678

Please sign in to comment.