We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 87b3ba1 commit 984b941Copy full SHA for 984b941
server/lib/classes/cron.d/100-monitor_raid.inc.php
@@ -283,7 +283,7 @@ public function onRunJob() {
283
if($retval === 0 || $retval64 === 0) {
284
$binary=@($retval === 0)?'megacli':'megacli64';
285
$state = 'ok';
286
- $data['output'] = shell_exec($binary.' -LDInfo -Lall -aAll');
+ $data['output'] = shell_exec($binary.' -LDInfo -Lall -aAll -NoLog');
287
if (strpos($data['output'], 'Optimal') !== false) {
288
$this->_tools->_setState($state, 'ok');
289
} else if (strpos($data['output'], 'Degraded') !== false) {
0 commit comments