Improve error handling of lttng cli
[lttng-tools.git] / src / bin / lttng / commands / destroy.c
index b0262ea2f0bbf5e1a3ec7e36925f3b3c9e1fccdd..dbd91c2157f4dd8560886952bb9b3926de24c25d 100644 (file)
@@ -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;
        }
 
This page took 0.02421 seconds and 5 git commands to generate.