View | Details | Raw Unified | Return to bug 27875
Collapse All | Expand All

(-)rplayd/rplayd.c (-4 / +3 lines)
Lines 421-430 Link Here
421
    /* Fork */
421
    /* Fork */
422
    if (do_fork)
422
    if (do_fork)
423
    {
423
    {
424
	int pid = fork();
424
	if (daemon(1, 1) < 0) {
425
	if (pid != 0)
425
	    report(REPORT_ERROR, "daemon: %s\n", sys_err_str(errno));
426
	{
426
	    done(1);
427
	    exit(0);
428
	}
427
	}
429
    }
428
    }

Return to bug 27875