Joe Conway <mail(at)joeconway(dot)com> writes:> Something like the attached what you had in mind?
That's much better, but is there a reason you're using exit(2)and not exit(EXIT_FAILURE) ?
regards, tom lane