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)
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>

No differences found
This page took 0.06145 seconds and 4 git commands to generate.