X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fcmd.c;h=10fd45757397257d84a4da8c48de3385964c9fcd;hb=3edb4f827e70927f42a95c5f1f4d514ec077550e;hp=82d92070398119fd60fce36adb55d17eb2aafc19;hpb=32e10baa3513a50f5dca51193cd9c834a2e0c39a;p=lttng-tools.git diff --git a/src/bin/lttng-sessiond/cmd.c b/src/bin/lttng-sessiond/cmd.c index 82d920703..10fd45757 100644 --- a/src/bin/lttng-sessiond/cmd.c +++ b/src/bin/lttng-sessiond/cmd.c @@ -2693,6 +2693,7 @@ int cmd_stop_trace(struct ltt_session *session) ret = kernel_metadata_flush_buffer(ksession->metadata_stream_fd); if (ret < 0) { ERR("Kernel metadata flush failed"); + error_occurred = true; } } @@ -2701,6 +2702,7 @@ int cmd_stop_trace(struct ltt_session *session) ret = kernel_flush_buffer(kchan); if (ret < 0) { ERR("Kernel flush buffer error"); + error_occurred = true; } }