projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Improve error handling of lttng cli
[lttng-tools.git]
/
src
/
bin
/
lttng
/
commands
/
destroy.c
diff --git
a/src/bin/lttng/commands/destroy.c
b/src/bin/lttng/commands/destroy.c
index b0262ea2f0bbf5e1a3ec7e36925f3b3c9e1fccdd..dbd91c2157f4dd8560886952bb9b3926de24c25d 100644
(file)
--- a/
src/bin/lttng/commands/destroy.c
+++ b/
src/bin/lttng/commands/destroy.c
@@
-77,6
+77,7
@@
static int destroy_session()
ret = lttng_destroy_session(session_name);
if (ret < 0) {
ret = lttng_destroy_session(session_name);
if (ret < 0) {
+ /* Don't set ret so lttng can interpret the sessiond error. */
goto free_name;
}
goto free_name;
}
This page took
0.027855 seconds
and
4
git commands to generate.