Nsdc restart falls into semi-infinite loop

Hello,

I experienced the following problem with NSD 3.2.2 on NetBSD
5.0 and 2 independent installations of FreeBSD 7.2.

The problem:
nsdc restart falls into infinite(actually broken by ${try}
ceiling) loop and leave nsd be stopped, not restarted.

Temporary fix:
Commenting out the discard redirection makes it sanity.

*** /pub/nsd-3.2.2/sbin/nsdc Fri Jul 24 12:29:19 2009
--- /tmp/nsdc Fri Jul 24 13:05:53 2009

That should be > /dev/null 2>&1, shouldn't it?

Joerg

Hello Joerg,