On Fri, 22 Oct 2010 12:47:33 +0000, Clint Adams <sch...@debian.org> wrote: > /usr/bin/monkeysphere conains a "set -e" invocation rather > than relying on proper error checking.
Hi, Clint. Using "set -e" was a deliberate choice. The reasoning being that we don't want to just pass over any errors that could potentially be bad news. I personally think this is reasonable, and is somewhat in line with how other programing languages work (e.g. if memory can't be allocated, or a function call is incorrect, the program terminates). This forces us to be vigil about catching the return of calls that we expect to be non-zero. This seems like a more reasonable task than catching the return of *all* calls, and checking that they are in fact zero. So is this just a theoretical concern, or did you actually run into a bug caused by the use of "set -e"? jamie.
pgplbdwWGOCY6.pgp
Description: PGP signature