Workarround lttng return code bug

See: http://bugs.lttng.org/issues/847

Signed-off-by: Francis Giraldeau <francis.giraldeau@gmail.com>