From c2c23c72b6bf3a863ade632ae7bf27f280d371c3 Mon Sep 17 00:00:00 2001 From: Usman Nasir Date: Sat, 11 Apr 2020 12:29:21 +0500 Subject: [PATCH] bug fix: upgrade --- plogical/upgrade.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plogical/upgrade.py b/plogical/upgrade.py index bf7a5342d..c7de6761b 100755 --- a/plogical/upgrade.py +++ b/plogical/upgrade.py @@ -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)