mirror of
https://github.com/ZettaIO/restic-compose-backup.git
synced 2026-11-17 02:25:41 +00:00
bug: cleanup should return integer exit code
This commit is contained in:
1 parent
a0dfb04aa7
commit
164834d3a9
1 file changed
+1
-1
@@ -181,7 +181,7 @@ def cleanup(config, containers):
|
||||
)
|
||||
logger.info('Prune stale data freeing storage space')
|
||||
prune_result = restic.prune(config.repository)
|
||||
return forget_result == 0 and prune_result == 0
|
||||
return forget_result and prune_result
|
||||
|
||||
|
||||
def snapshots(config, containers):
|
||||
|
||||
Reference in new issue
Block a user