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. ** Also affects: haproxy (Ubuntu Wily) Importance: Undecided Status: New ** Also affects: haproxy (Ubuntu Trusty) Importance: Undecided Status: New ** Also affects: haproxy (Ubuntu Xenial) Importance: Undecided Status: New ** Also affects: haproxy (Ubuntu Vivid) Importance: Undecided Status: New ** Changed in: haproxy (Ubuntu Xenial) Status: New => Fix Released ** Changed in: haproxy (Ubuntu Wily) Importance: Undecided => Critical ** Changed in: haproxy (Ubuntu Trusty) Importance: Undecided => Critical ** Changed in: haproxy (Ubuntu Vivid) Importance: Undecided => Critical ** Changed in: haproxy (Ubuntu Xenial) Importance: Undecided => Critical ** Changed in: haproxy (Ubuntu Wily) Status: New => Invalid ** Changed in: haproxy (Ubuntu Trusty) Status: New => Confirmed ** Changed in: haproxy (Ubuntu Vivid) Status: New => Invalid -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to haproxy in Ubuntu. https://bugs.launchpad.net/bugs/1526271 Title: Could not patch cib; leading to no haproxy running To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/haproxy/+bug/1526271/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs