-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to Ralf Wildenhues on 1/13/2009 3:37 PM: > I agree; I'll file a report once I'm through checking that it's not > already reported (there are several 'set -e'-related bugs there). > > As to how to skip the test, how about this patch?
Looks good; please apply. By the way, does something like: trap 's=$? && set +e; echo $s; as_fn_exit' 0 behave any better? Maybe the problem is that when set -e is in effect, and the first command of the EXIT trap is a shell builtin, that the shell remembers the non-zero status inherited prior to entrance into the trap. - -- Don't work too hard, make some time for fun as well! Eric Blake [email protected] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkltRksACgkQ84KuGfSFAYAzDgCgzGeIEqqKSw+IkK3PfccrI5gP x1QAn2zT5HPmlScvqzgfHiDBntci1mxO =VLtj -----END PGP SIGNATURE-----
