Commit f004babe authored by Michael Sawyer's avatar Michael Sawyer
Browse files

Small bug fix... Forgot grep -v grep in the script.

parent 1d58763c
......@@ -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:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment