projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
cli: Fix exit code of ctf-metadata output
[babeltrace.git]
/
cli
/
babeltrace.c
diff --git
a/cli/babeltrace.c
b/cli/babeltrace.c
index ad5f22f716208a619977552e7d4202508a3f51d7..814ad0f35c08e7148bd6ec5db01dbfe9327fd9ce 100644
(file)
--- a/
cli/babeltrace.c
+++ b/
cli/babeltrace.c
@@
-1452,8
+1452,11
@@
int cmd_print_ctf_metadata(struct bt_config *cfg)
if (ret < 0) {
BT_LOGE("Cannot write whole metadata text to output stream: "
"ret=%d", ret);
+ goto end;
}
+ ret = 0;
+
goto end;
failed:
This page took
0.03086 seconds
and
4
git commands to generate.