} else if (opt_userspace && opt_cmd_name != NULL) {
dom.type = LTTNG_DOMAIN_UST_EXEC_NAME;
strncpy(dom.attr.exec_name, opt_cmd_name, NAME_MAX);
} else if (opt_userspace && opt_cmd_name != NULL) {
dom.type = LTTNG_DOMAIN_UST_EXEC_NAME;
strncpy(dom.attr.exec_name, opt_cmd_name, NAME_MAX);