Re: mg: exit code cleanup

2014-11-13 Thread Florian Obser
Commited, thanks! On Sun, Nov 09, 2014 at 08:40:03PM +0100, Martin Natano wrote: > mg(1) calls 'exit(1)' on failure, but 'exit(GOOD)' on success. In my > opinion it would be more readable to just use 'exit(0)' for a normal > exit. (If there really is the need for a define, EXIT_SUCCESS would be a

mg: exit code cleanup

2014-11-09 Thread Martin Natano
mg(1) calls 'exit(1)' on failure, but 'exit(GOOD)' on success. In my opinion it would be more readable to just use 'exit(0)' for a normal exit. (If there really is the need for a define, EXIT_SUCCESS would be a better fit anyways, and EXIT_* should be applied consistently.) Also, the MALLOCROUND()