Few fixes

This commit is contained in:
Antoine Nguyen
2022-11-08 17:19:23 +01:00
parent 2b5edae5d5
commit 8b1d60ee59
5 changed files with 29 additions and 19 deletions

View File

@@ -102,7 +102,7 @@ class Amavis(base.Installer):
if os.path.isfile(amavis_custom):
utils.copy_file(amavis_custom, path)
utils.success("Amavis custom configuration saved!")
backup("spamassassin", path)
backup("spamassassin", self.config, os.path.dirname(path))
def restore(self):
"""Restore custom config files."""