daemon: Fix regression with --start introduced with the double fork in 8e94f653