bug fix: upgrade

This commit is contained in:
Usman Nasir
2020-04-11 12:29:21 +05:00
parent 588fb1dd3c
commit c2c23c72b6

View File

@@ -2064,7 +2064,7 @@ vmail
if os.path.exists(Upgrade.CentOSPath):
command = 'yum list installed'
Upgrade.installedOutput = subprocess.call(shlex.split(command))
Upgrade.installedOutput = subprocess.check_output(shlex.split(command))
command = 'systemctl stop cpssh'
Upgrade.executioner(command, 'fix csf if there', 0)