X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng%2Fcommands%2Fdestroy.c;h=dbd91c2157f4dd8560886952bb9b3926de24c25d;hp=b0262ea2f0bbf5e1a3ec7e36925f3b3c9e1fccdd;hb=ae8564917fa3cb3497ec17951d8ac0ee28de9c81;hpb=4747a49b20089e4ac15d02a5191bd6cca8567e2f diff --git a/src/bin/lttng/commands/destroy.c b/src/bin/lttng/commands/destroy.c index b0262ea2f..dbd91c215 100644 --- 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) { + /* Don't set ret so lttng can interpret the sessiond error. */ goto free_name; }