fixed node-daemon ret code