From f004babe63a6a50bef91701d6f682ab27869c854 Mon Sep 17 00:00:00 2001 From: Michael Sawyer Date: Mon, 15 May 2000 23:15:18 +0000 Subject: [PATCH] Small bug fix... Forgot grep -v grep in the script. --- util/nanny.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/util/nanny.pl b/util/nanny.pl index 426103ce24..b07eadb185 100644 --- a/util/nanny.pl +++ b/util/nanny.pl @@ -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: