bb_xdaemon() isnt available on no-mmu systems

This commit is contained in:
Mike Frysinger 2006-06-07 21:47:34 +00:00
parent 373af43bb0
commit ca70774293

View File

@ -6,12 +6,14 @@
*
* Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
*/
#include <unistd.h>
#include "libbb.h"
#ifndef BB_NOMMU
void bb_xdaemon(int nochdir, int noclose)
{
if (daemon(nochdir, noclose))
bb_perror_msg_and_die("daemon");
}
#endif