Fix: lttng UI exit value and error message
authorDavid Goulet <dgoulet@efficios.com>
Tue, 20 Mar 2012 18:27:12 +0000 (14:27 -0400)
committerDavid Goulet <dgoulet@efficios.com>
Tue, 20 Mar 2012 18:27:12 +0000 (14:27 -0400)
commit4222434939b65c3abf144866564732d7fd14ed13
treed0d0206c68cad869d9c48c0053730551004dc738
parentabc9138a92fb32f5525f29160aabd6dc18e441cd
Fix: lttng UI exit value and error message

Change lttcomm error code starting value from 1000 to 10. This way, bash
can return the exact error code since 255 is the maximum.

Fix multiple warning, error and message output.

Some return code could still be not "standardize" but for stable it's
ok. Fixes can come later on.

(close #105)

Signed-off-by: David Goulet <dgoulet@efficios.com>
13 files changed:
src/bin/lttng-sessiond/channel.c
src/bin/lttng-sessiond/event.c
src/bin/lttng-sessiond/kernel.c
src/bin/lttng/command.h
src/bin/lttng/commands/create.c
src/bin/lttng/commands/destroy.c
src/bin/lttng/commands/enable_channels.c
src/bin/lttng/commands/enable_events.c
src/bin/lttng/commands/start.c
src/bin/lttng/commands/stop.c
src/bin/lttng/lttng.c
src/common/sessiond-comm/sessiond-comm.c
src/common/sessiond-comm/sessiond-comm.h
This page took 0.035679 seconds and 4 git commands to generate.