Skip to content

Commit 4930e96

Browse files
author
A. Täffner
committed
absolute path -> relative path
1 parent 7568eaf commit 4930e96

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

server/plugins-available/bind_plugin.inc.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,8 @@ function soa_update($event_name, $data) {
273273
//* Check the zonefile
274274
if(is_file($filename.'.err')) unlink($filename.'.err');
275275
$out=array();
276-
exec('/usr/sbin/named-checkzone '.escapeshellarg($zone['origin']).' '.escapeshellarg($filename).' 2>&1', $out, $return_status);
276+
exec('named-checkzone '.escapeshellarg($zone['origin']).' '.escapeshellarg($filename.'.pending').' 2>&1', $out, $return_status);
277+
277278
$statustext='';
278279
foreach ($out as $line) $statustext .= $line."\n";
279280
if($return_status === 0) {

0 commit comments

Comments
 (0)