daemon: fix wrong goto that was causing warning