projects
/
deliverable
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Propagate error for clear command
[deliverable/lttng-tools.git]
/
src
/
bin
/
lttng-sessiond
/
clear.c
diff --git
a/src/bin/lttng-sessiond/clear.c
b/src/bin/lttng-sessiond/clear.c
index e83818dc081c2fdc97b5ef66cba7e5e5a16e3aa0..8ac77d3b6c976778110329a12720f4cdc38c98d3 100644
(file)
--- a/
src/bin/lttng-sessiond/clear.c
+++ b/
src/bin/lttng-sessiond/clear.c
@@
-74,7
+74,7
@@
int cmd_clear_session(struct ltt_session *session)
*/
ret = consumer_clear_session(session);
if (ret < 0) {
- ret =
LTTNG_ERR_CLEAR_FAIL_CONSUMER
;
+ ret =
-ret
;
goto error;
}
ret = LTTNG_OK;
This page took
0.025336 seconds
and
5
git commands to generate.