Public bug reported:

In /etc/init.d/haproxy, the reload and restart commands always exit with
status 0 (success), even when the haproxy command failed. reload and
restart should be rewritten to follow the pattern of start and stop,
which give informative exit codes.

I'm using ubuntu 12.04, but the problem still appears to exist in 13.04.

** Affects: haproxy (Ubuntu)
     Importance: Undecided
         Status: New

** Patch added: "haproxy-init-script-exit-status.patch"
   
https://bugs.launchpad.net/bugs/1187469/+attachment/3694553/+files/haproxy-init-script-exit-status.patch

** Description changed:

  In /etc/init.d/haproxy, the reload and restart commands always exit with
  status 0 (success), even when the haproxy command failed. reload and
- restart should be rewritten to follow the pattern of start and stop.
+ restart should be rewritten to follow the pattern of start and stop,
+ which give informative exit codes.
  
  I'm using ubuntu 12.04, but the problem still appears to exist in 13.04.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1187469

Title:
  haproxy init script gives incorrect exit status

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/haproxy/+bug/1187469/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to