Skip to content

Commit de078e6

Browse files
author
A. Täffner
committed
absolute path -> relative path
1 parent ad3fe59 commit de078e6

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
@@ -130,7 +130,7 @@ function soa_update($event_name, $data) {
130130
//* Check the zonefile
131131
if(is_file($filename.'.err')) unlink($filename.'.err');
132132
$out=array();
133-
exec('/usr/sbin/named-checkzone '.escapeshellarg($zone['origin']).' '.escapeshellarg($filename.'.pending').' 2>&1', $out, $return_status);
133+
exec('named-checkzone '.escapeshellarg($zone['origin']).' '.escapeshellarg($filename.'.pending').' 2>&1', $out, $return_status);
134134
$statustext='';
135135
foreach ($out as $line) $statustext .= $line."\n";
136136
if($return_status === 0) {

0 commit comments

Comments
 (0)