masqmail

diff src/child.c @ 262:fc1c6425c024

s/EXIT_SUCCESS/0/ && s/EXIT_FAILURE/1/ The constants are all to bulky. We should have different, meaningful exit codes anyway.
author markus schnalke <meillo@marmaro.de>
date Thu, 02 Dec 2010 17:11:25 -0300
parents 98cda87105a7
children b27f66555ba8
line diff
     1.1 --- a/src/child.c	Thu Dec 02 16:52:39 2010 -0300
     1.2 +++ b/src/child.c	Thu Dec 02 17:11:25 2010 -0300
     1.3 @@ -54,7 +54,7 @@
     1.4  				execve(*argv, argv, NULL);
     1.5  			}
     1.6  			logwrite(LOG_ALERT, "execve failed: %s\n", strerror(errno));
     1.7 -			_exit(EXIT_FAILURE);
     1.8 +			_exit(1);
     1.9  		} else if (pid == -1) {
    1.10  			return -1;
    1.11  		} else {