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 wrap: on
line diff
--- a/src/child.c	Thu Dec 02 16:52:39 2010 -0300
+++ b/src/child.c	Thu Dec 02 17:11:25 2010 -0300
@@ -54,7 +54,7 @@
 				execve(*argv, argv, NULL);
 			}
 			logwrite(LOG_ALERT, "execve failed: %s\n", strerror(errno));
-			_exit(EXIT_FAILURE);
+			_exit(1);
 		} else if (pid == -1) {
 			return -1;
 		} else {