Fix: snapshot command mishandles missing arguments
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 30 Aug 2018 18:32:10 +0000 (14:32 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 30 Aug 2018 18:32:13 +0000 (14:32 -0400)
commit3da6df223e781decc790cd870e408026f633ec9c
tree48c198fb693ad30cbcd36c9cb26032ec32a375bc
parentd42bc3c80d1767802e05761b45b1577099623611
Fix: snapshot command mishandles missing arguments

The snapshot command does not print explicit errors when
arguments are missing. This commit introduces more error
reporting and ensures that lttng_error_code and cmd_error_code
values are not freely mixed.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng/commands/snapshot.c
This page took 0.033347 seconds and 4 git commands to generate.