From c3955ea34e0d14bb3a0ce67adcaa639a22011162 Mon Sep 17 00:00:00 2001 From: cytopia Date: Thu, 11 May 2017 08:36:44 +0200 Subject: [PATCH] REL-0.9 Remove return in DNS check --- .devilbox/www/include/lib/Dns.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.devilbox/www/include/lib/Dns.php b/.devilbox/www/include/lib/Dns.php index a51969d7..67aab337 100644 --- a/.devilbox/www/include/lib/Dns.php +++ b/.devilbox/www/include/lib/Dns.php @@ -50,10 +50,6 @@ class Dns extends _Base implements _iBase $cmd = 'dig +time=1 +tries=1 @172.16.238.100 version.bind chaos TXT'; exec($cmd, $output, $exit_code); - if ($exit_code != 0) { - return false; - } - self::$_available[$hostname] = ($exit_code != 0) ? false : true; }