-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 03/28/2012 12:24 PM, Colin Walters wrote: > The naming here is confusing...the C variable should be called "daemonize" or "do_fork" or something. > > + if (foreground && daemon(0, 0)) { > > Would then be: > > if (!foreground && daemon(0, 0)) > > Right? > > Ok using do_fork. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk9zSQIACgkQrlYvE4MpobNJeQCeMJJLClSc7KgtNxtEp9SRRgrm gscAoJGil/oYdK+agV3OSDF/eUm8nixW =0jm0 -----END PGP SIGNATURE----- -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to majordomo@xxxxxxxxxxxxx with the words "unsubscribe selinux" without quotes as the message.