Falko Timme
2013-10-22 391e05cbee6ff84bce60b665be60b4e5f049ee7f
server/lib/classes/monitor_tools.inc.php
@@ -900,7 +900,7 @@
         /*
          * Fetch the output
          */
         $data['output'] = $aptData;
         $data['output'] = shell_exec('apt-get -s -q dist-upgrade');
      } elseif (file_exists('/etc/gentoo-release')) {
         /*
@@ -1061,7 +1061,7 @@
            /* fetch the next line */
            $line = $tmp[$i];
            if ((strpos($line, '[U_]') !== false) || (strpos($line, '[_U]') !== false)) {
            if ((strpos($line, 'U_]') !== false) || (strpos($line, '[_U') !== false) || (strpos($line, 'U_U') !== false)) {
               /* One Disk is not working.
                * if the next line starts with "[>" or "[=" then
                * recovery (resync) is in state and the state is