Skip to content

Commit ad9183f

Browse files
author
A. Täffner
committed
Zone-Checking improved
Implements a colored background if bind fails to load the zone due to errors Implements a status text if errors occured Implements not removing a zone if errors occur. instead old zone stays loaded
1 parent 3a3e2fc commit ad9183f

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

server/plugins-available/bind_plugin.inc.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,6 @@ function soa_update($event_name, $data) {
274274
if(is_file($filename.'.err')) unlink($filename.'.err');
275275
$out=array();
276276
exec('named-checkzone '.escapeshellarg($zone['origin']).' '.escapeshellarg($filename).' 2>&1', $out, $return_status);
277-
278277
$statustext='';
279278
foreach ($out as $line) $statustext .= $line."\n";
280279
if($return_status === 0) {

0 commit comments

Comments
 (0)