The EXIT trap in the init script calls 'exit' directly, which overrides the return code of the actual operation.
This is already fixed in Xenial and Wily; looking at Vivid and Trusty now.
The EXIT trap in the init script calls 'exit' directly, which overrides the return code of the actual operation.
This is already fixed in Xenial and Wily; looking at Vivid and Trusty now.