[fix] m_bind.php fixing reconfig instead of reload
This commit is contained in:
parent
13564a9d73
commit
b4aa7c3957
|
@ -167,7 +167,7 @@ class m_bind {
|
||||||
}
|
}
|
||||||
if ($this->shouldreconfig) {
|
if ($this->shouldreconfig) {
|
||||||
$ret=0;
|
$ret=0;
|
||||||
exec($this->RNDC." reload 2>&1",$out,$ret);
|
exec($this->RNDC." reconfig 2>&1",$out,$ret);
|
||||||
if ($ret!=0) {
|
if ($ret!=0) {
|
||||||
$msg->raise("ERROR","bind","Error while reconfiguring bind, error code is $ret\n".implode("\n",$out));
|
$msg->raise("ERROR","bind","Error while reconfiguring bind, error code is $ret\n".implode("\n",$out));
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue