Merge pull request #61 from mrdomino/master

Exit 0 on successful daemonization
This commit is contained in:
cgyarvin 2013-10-21 10:59:14 -07:00
commit c9d51d63f8

View File

@ -225,7 +225,7 @@ main(c3_i argc,
} }
if ( pid ) { if ( pid ) {
printf("%s: daemon: process %d\n", argv[0], pid); printf("%s: daemon: process %d\n", argv[0], pid);
exit(1); exit(0);
} }
} }