Confusing error message from zonec

All,

I ran zonec today and had a confusing error message:

shane@app2.lab1:~/dnssec> ~/nsec3/sbin/zonec -c ./nsd.conf -z db.org.signed
[1211985210] zonec[24089]: notice: changed directory to /home/shane/dnssec
zonec: must have -z zonefile when reading single zone.

The only thing this command line *does* have is a "-z zonefile" flag!

It turns out I was missing the "-o" option. Here's a patch which fixes the output.

Hi Shane,

This was mentioned earlier in the bugzilla system.
It is already fixed in the trunk, and will appear in the next release.

- - Matthijs

Shane Kerr wrote: