bug: cleanup should return integer exit code

This commit is contained in:
Einar Forselv 2019-12-05 12:55:13 +01:00
parent a0dfb04aa7
commit 164834d3a9
1 changed files with 1 additions and 1 deletions

View File

@ -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):