From 09bdcf372ba12695a813f72721181d6f1a8e901b Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Mon, 27 Feb 2012 03:28:46 -0500
Subject: [PATCH] Merged language files.

---
 server/lib/classes/monitor_tools.inc.php |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/server/lib/classes/monitor_tools.inc.php b/server/lib/classes/monitor_tools.inc.php
index c67cfef..dab75b5 100644
--- a/server/lib/classes/monitor_tools.inc.php
+++ b/server/lib/classes/monitor_tools.inc.php
@@ -879,7 +879,7 @@
 			/*
 			 * Fetch the output
 			 */
-			$data['output'] = shell_exec('zypper --non-interactive up');
+			$data['output'] = shell_exec('zypper lu');
 		} else {
 			/*
 			 * It is not Debian/Ubuntu, so there is no data and no state
@@ -1020,7 +1020,7 @@
 				/*
 				 * Fetch the output
 				 */
-				$data['output'] = shell_exec('mpt-status --autoload -n');
+				$data['output'] = shell_exec('mpt-status --autoload');
 
 				/*
 				 * Then calc the state.
@@ -1032,7 +1032,7 @@
 						* The output contains information for every RAID and every HDD.
 						* We only need the state of the RAID
 						*/
-						if (strpos($item, 'raidlevel:') !== false) {
+						if (strpos($item, 'state ') !== false) {
 							/*
 							* We found a raid, process the state of it
 							*/

--
Gitblit v1.9.1