From fbe6a21116712168e3a00d44afb3f5edae1be549 Mon Sep 17 00:00:00 2001 From: mcramer Date: Tue, 30 Jul 2013 07:05:07 +0000 Subject: [PATCH] Revision 4063 changed the command of apt-get dist-upgrade, so it is no longer neccessary to call as it is the same one that is already executed before and we can reuse the output. --- server/lib/classes/monitor_tools.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/lib/classes/monitor_tools.inc.php b/server/lib/classes/monitor_tools.inc.php index 286791e62a..6162024747 100644 --- a/server/lib/classes/monitor_tools.inc.php +++ b/server/lib/classes/monitor_tools.inc.php @@ -897,7 +897,7 @@ class monitor_tools { /* * Fetch the output */ - $data['output'] = shell_exec('apt-get -s -qq dist-upgrade'); + $data['output'] = $aptData; } elseif (file_exists('/etc/gentoo-release')) { /* -- GitLab