mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-18 11:11:01 +01:00
bug fix: upgrade
This commit is contained in:
@@ -2064,7 +2064,7 @@ vmail
|
|||||||
|
|
||||||
if os.path.exists(Upgrade.CentOSPath):
|
if os.path.exists(Upgrade.CentOSPath):
|
||||||
command = 'yum list installed'
|
command = 'yum list installed'
|
||||||
Upgrade.installedOutput = subprocess.call(shlex.split(command))
|
Upgrade.installedOutput = subprocess.check_output(shlex.split(command))
|
||||||
|
|
||||||
command = 'systemctl stop cpssh'
|
command = 'systemctl stop cpssh'
|
||||||
Upgrade.executioner(command, 'fix csf if there', 0)
|
Upgrade.executioner(command, 'fix csf if there', 0)
|
||||||
|
|||||||
Reference in New Issue
Block a user