diff options
-rw-r--r-- | assoc.c | 2 | ||||
-rw-r--r-- | daemon.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -485,7 +485,7 @@ void assoc_init(void) { primary_hashtable = malloc(hash_size); if (! primary_hashtable) { fprintf(stderr, "Failed to init hashtable.\n"); - exit(1); + exit(EXIT_FAILURE); } memset(primary_hashtable, 0, hash_size); } @@ -50,7 +50,7 @@ daemon(nochdir, noclose) case 0: break; default: - _exit(0); + _exit(EXIT_SUCCESS); } if (setsid() == -1) |