From 9a63318da16fecd56dbd9fb75fae75f91c2bb23a Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Fri, 17 Feb 2012 04:06:34 -0500
Subject: [PATCH] Removed -n switch from mpt-status command to get a cleaner output of the raid state in monitor.
---
server/lib/classes/monitor_tools.inc.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/server/lib/classes/monitor_tools.inc.php b/server/lib/classes/monitor_tools.inc.php
index 00b9759..337ae0d 100644
--- a/server/lib/classes/monitor_tools.inc.php
+++ b/server/lib/classes/monitor_tools.inc.php
@@ -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.
--
Gitblit v1.9.1