Skip to content

Commit f02be96

Browse files
author
Till Brehm
committed
Fixed a error in OS detection code for CentOS.
1 parent 0478d4a commit f02be96

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

server/lib/classes/monitor_tools.inc.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,13 +215,11 @@ public function get_distname() {
215215
$distver = 'Unknown';
216216
$distid = 'centos53';
217217
$distbaseid = 'fedora';
218-
swriteln("Operating System: CentOS 6 or compatible\n");
219218
} elseif(stristr($content, 'CentOS Linux release 7')) {
220219
$distname = 'CentOS';
221220
$distver = 'Unknown';
222221
$distid = 'centos53';
223222
$distbaseid = 'fedora';
224-
swriteln("Operating System: CentOS 7 or compatible\n");
225223
} else {
226224
$distname = 'Redhat';
227225
$distver = 'Unknown';

0 commit comments

Comments
 (0)