Fix: don't set enabled flag is session start fails
authorDavid Goulet <dgoulet@efficios.com>
Tue, 25 Mar 2014 16:14:01 +0000 (12:14 -0400)
committerDavid Goulet <dgoulet@efficios.com>
Thu, 10 Jul 2014 19:26:35 +0000 (15:26 -0400)
commitd0c66a34ba4c0e20b3af0f81761099b6b6a9adc1
tree0f5900f7f137d5a1578c57074c415238b288827c
parent9b1ddda7fd61aa88b29317cd30e4e2769534c21b
Fix: don't set enabled flag is session start fails

The "started" var. is changed to the flag "has_been_started" indicating
if at least ONE start command has been seen.

The "enabled" var. is changed to the flag "active" and the semantic is
the same.

Backported from master.

Fixes #801

Signed-off-by: David Goulet <dgoulet@efficios.com>
src/bin/lttng-sessiond/cmd.c
src/bin/lttng-sessiond/session.h
This page took 0.025282 seconds and 4 git commands to generate.