msg,
print_channel_name(channel_name),
session_name);
- error = 1;
+ ret = CMD_ERROR;
break;
}
default:
msg,
print_channel_name(channel_name),
session_name, opt_filter);
- error = 1;
+ ret = CMD_ERROR;
break;
}
default:
event_name,
exclusion_string,
print_channel_name(channel_name), session_name);
+ warn = 1;
break;
case LTTNG_ERR_TRACE_ALREADY_STARTED:
{
msg,
print_channel_name(channel_name),
session_name);
- error = 1;
+ ret = CMD_ERROR;
break;
}
default:
? print_raw_channel_name(channel_name)
: print_channel_name(channel_name),
session_name);
+ warn = 1;
break;
}
- warn = 1;
} else {
MSG("%s event %s%s created in channel %s",
get_domain_str(dom.type), event_name,
msg,
print_channel_name(channel_name),
session_name, opt_filter);
- error = 1;
+ ret = CMD_ERROR;
break;
}
default: