remove config backups

This commit is contained in:
Usman Nasir
2020-10-14 15:26:00 +05:00
parent 84e1bccd0d
commit cb741771e1

View File

@@ -2097,6 +2097,9 @@ echo $oConfig->Save() ? 'Done' : 'Error';
command = 'systemctl restart dovecot'
Upgrade.executioner(command, command, 0)
command = 'rm -rf %s' % (configbackups)
Upgrade.executioner(command, command, 0)
Upgrade.stdOut("Dovecot upgraded.")
except BaseException as msg: