PowerDNS/pdns — pull request #979 by zeha (2013-08-28 19:14:43+00:00)
Title: Fix zone2{sql,json} exit codes

To be consistent with general practice, fix zone2{sql,json} to exit with:
* 0 on success
* 1 on error

This also moves the catch block after the last line of main, so a
"theoretically" possible exception in ::arg().mustDo would get caught.
(Also, one level less of indent!)