Exit with simple_backup()'s return code when run as a script

This commit is contained in:
Fuxino
2026-10-21 22:37:55 +02:00
parent 9e6aadf7d3
commit b54f7e1817
2 changed files with 17 additions and 1 deletions
+1 -1
View File
@@ -1192,4 +1192,4 @@ def simple_backup() -> int:
if __name__ == '__main__':
simple_backup()
sys.exit(simple_backup())