masqmail

diff src/local.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 996b53a50f55
children 63efd381e27b
line diff
     1.1 --- a/src/local.c	Thu Dec 02 16:52:39 2010 -0300
     1.2 +++ b/src/local.c	Thu Dec 02 17:11:25 2010 -0300
     1.3 @@ -132,7 +132,7 @@
     1.4  				logwrite(LOG_ALERT, "could not set back uid or gid after local delivery: %s\n", strerror(errno));
     1.5  				logwrite(LOG_ALERT, "uid=%d, gid=%d, euid=%d, egid=%d, want = %d, %d\n",
     1.6  				         getuid(), getgid(), geteuid(), getegid(), saved_uid, saved_gid);
     1.7 -				exit(EXIT_FAILURE);
     1.8 +				exit(1);
     1.9  			}
    1.10  		} else {
    1.11  			logwrite(LOG_ALERT, "could not set uid or gid for local delivery, uid = %d: %s\n", pw->pw_uid, strerror(errno));