projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Extend the rotation API to provide network trace archive locations
[lttng-tools.git]
/
src
/
bin
/
lttng-sessiond
/
main.c
diff --git
a/src/bin/lttng-sessiond/main.c
b/src/bin/lttng-sessiond/main.c
index 4c885d7b74f63f2c51447932fe36afccabb81d8e..db92191c8c31a9e77e4c2c48d002ecbbcd7e0369 100644
(file)
--- a/
src/bin/lttng-sessiond/main.c
+++ b/
src/bin/lttng-sessiond/main.c
@@
-4204,12
+4204,10
@@
error_add_context:
cmd_ctx->lsm->u.rotate_setup.timer_us,
cmd_ctx->lsm->u.rotate_setup.size,
notification_thread_handle);
- if (ret < 0) {
- ret = -ret;
+ if (ret != LTTNG_OK) {
goto error;
}
- ret = LTTNG_OK;
break;
}
case LTTNG_ROTATION_SCHEDULE_GET_TIMER_PERIOD:
This page took
0.027143 seconds
and
5
git commands to generate.