outposts: handle error in certificate cleanup

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer
2022-01-04 22:53:37 +01:00
parent b90174f153
commit e70b486f20
2 changed files with 18 additions and 15 deletions

View File

@ -63,8 +63,6 @@ def should_backup() -> bool:
return False
if not CONFIG.y_bool("postgresql.backup.enabled"):
return False
if settings.DEBUG:
return False
return True