X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=src%2Fcli%2Fbabeltrace2.c;h=e721ea3b739e1bce2c0733935d5bc0f8605d96ba;hp=150b08fc12f69c079e65f5677a08fb267ec7c0bc;hb=0e312dbd81e160ef2e17020391b118ea1db676b2;hpb=977d6cc05226fb841d687e64fc4f101bac3c512e diff --git a/src/cli/babeltrace2.c b/src/cli/babeltrace2.c index 150b08fc..e721ea3b 100644 --- a/src/cli/babeltrace2.c +++ b/src/cli/babeltrace2.c @@ -2536,7 +2536,7 @@ int cmd_run(struct bt_config *cfg) switch (run_status) { case BT_GRAPH_RUN_STATUS_OK: - break; + goto end; case BT_GRAPH_RUN_STATUS_AGAIN: if (bt_interrupter_is_set(the_interrupter)) { BT_CLI_LOGW_APPEND_CAUSE( @@ -2558,8 +2558,6 @@ int cmd_run(struct bt_config *cfg) } } break; - case BT_GRAPH_RUN_STATUS_END: - goto end; default: if (bt_interrupter_is_set(the_interrupter)) { BT_CLI_LOGW_APPEND_CAUSE(