Date: Wed, 30 Jan 2008 09:51:46 -0800 From: Doug Barton <dougb@FreeBSD.org> To: =?ISO-8859-1?Q?Dag-Erling_Sm=F8rgrav?= <des@des.no> Cc: rc@freebsd.org Subject: Re: Bug in 470.status-named? Message-ID: <47A0B932.7070308@FreeBSD.org> In-Reply-To: <86r6fzzdzb.fsf@ds4.des.no> References: <86r6fzzdzb.fsf@ds4.des.no>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
Before I forget, rc.d != periodic, but we'll let you slide this time. :)
Dag-Erling Smørgrav wrote:
> Checking for denied zone transfers (AXFR and IXFR):
> [: 0: unexpected operator
>
> It's intermittent, so I'm not sure if I can track down the exact cause.
Try this patch for debugging purposes. If you hit the debug statement
post to hackers@ and we'll follow up.
hth,
Doug
--
This .signature sanitized for your protection
[-- Attachment #2 --]
Index: 470.status-named
===================================================================
RCS file: /usr/local/ncvs/src/etc/periodic/daily/470.status-named,v
retrieving revision 1.8
diff -u -r1.8 470.status-named
--- 470.status-named 11 Jun 2006 20:39:12 -0000 1.8
+++ 470.status-named 30 Jan 2008 17:47:59 -0000
@@ -53,7 +53,12 @@
fi
done ) | \
tee /dev/stderr | wc -l)
- [ $rc -gt 0 ] && rc=1
+ if [ -n "$rc" ]; then
+ [ $rc -gt 0 ] && rc=1
+ else
+ echo "Debug> OH NO! rc empty in $0"
+ rc=1
+ fi
;;
*) rc=0;;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47A0B932.7070308>
