Set the exit status of ustctl main function v3
authorDavid Goulet <david.goulet@polymtl.ca>
Thu, 9 Sep 2010 16:48:16 +0000 (18:48 +0200)
committerNils Carlson <nils.carlson@ericsson.com>
Fri, 10 Sep 2010 08:29:58 +0000 (10:29 +0200)
commit1e620c5350cfbd0b0be4122547115dd4da503bcf
tree2b792eed9555b49942e09fbe75273135c51c449d
parentc66428ac9ee17d0724baf4430e29887aeed5f259
Set the exit status of ustctl main function v3

Each possible command checks the return value and, on error,
print on stderr and set the retval. This makes ustctl return
an EXIT_FAILURE on any command that fails.

Signed-off-by: David Goulet <david.goulet@polymtl.ca>
Acked-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
ustctl/ustctl.c
This page took 0.023834 seconds and 4 git commands to generate.