mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-08 20:42:06 -04:00
Small bug fix... Forgot grep -v grep in the script.
This commit is contained in:
parent
1d58763c26
commit
f004babe63
1 changed files with 2 additions and 2 deletions
|
|
@ -31,7 +31,7 @@ for (;;) {
|
|||
close(FILE);
|
||||
chomp($pid);
|
||||
|
||||
$ps_command = "ps -axw | grep named | grep $pid |";
|
||||
$ps_command = "ps -axw | grep named | grep $pid | grep -v grep |";
|
||||
# ps_command MUST end in a pipe (|) character!
|
||||
|
||||
# Make sure there's a named on the pid we just got. Since there is no
|
||||
|
|
@ -47,7 +47,7 @@ for (;;) {
|
|||
$return = system($dig_command);
|
||||
goto restart if ($return == 9);
|
||||
|
||||
sleep 90;
|
||||
sleep 30;
|
||||
next;
|
||||
|
||||
restart:
|
||||
|
|
|
|||
Loading…
Reference in a new issue