Skip to content

Commit fbe6a21

Browse files
author
mcramer
committed
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.
1 parent 4c12c10 commit fbe6a21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/lib/classes/monitor_tools.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -897,7 +897,7 @@ public function monitorSystemUpdate() {
897897
/*
898898
* Fetch the output
899899
*/
900-
$data['output'] = shell_exec('apt-get -s -qq dist-upgrade');
900+
$data['output'] = $aptData;
901901
} elseif (file_exists('/etc/gentoo-release')) {
902902

903903
/*

0 commit comments

Comments
 (0)