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