Skip to content

Commit 05c924e

Browse files
author
A. Täffner
committed
absolute path -> relative path
1 parent a848877 commit 05c924e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/plugins-available/bind_plugin.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ function soa_update($event_name, $data) {
268268
//* Check the zonefile
269269
if(is_file($filename.'.err')) unlink($filename.'.err');
270270
$out=array();
271-
exec('/usr/sbin/named-checkzone '.escapeshellarg($zone['origin']).' '.escapeshellarg($filename.'.pending').' 2>&1', $out, $return_status);
271+
exec('named-checkzone '.escapeshellarg($zone['origin']).' '.escapeshellarg($filename.'.pending').' 2>&1', $out, $return_status);
272272
$statustext='';
273273
foreach ($out as $line) $statustext .= $line."\n";
274274
if($return_status === 0) {

0 commit comments

Comments
 (0)