Skip to content

Commit c2c23c7

Browse files
committed
bug fix: upgrade
1 parent 588fb1d commit c2c23c7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

plogical/upgrade.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2064,7 +2064,7 @@ def upgrade(branch):
20642064

20652065
if os.path.exists(Upgrade.CentOSPath):
20662066
command = 'yum list installed'
2067-
Upgrade.installedOutput = subprocess.call(shlex.split(command))
2067+
Upgrade.installedOutput = subprocess.check_output(shlex.split(command))
20682068

20692069
command = 'systemctl stop cpssh'
20702070
Upgrade.executioner(command, 'fix csf if there', 0)

0 commit comments

Comments
 (0)