]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MINOR] fix the status return of the init script
authorWilly Tarreau <w@1wt.eu>
Sun, 2 Dec 2007 13:02:52 +0000 (14:02 +0100)
committerWilly Tarreau <w@1wt.eu>
Sun, 2 Dec 2007 13:02:52 +0000 (14:02 +0100)
commit98edd77891d1ddc7eecbd3c5299611ceab221b19
tree6b3f578d234a663265d0f25c6343fbba534f0c2f
parent7b066db3bf8f24410794d641a7e35adae1e3e97d
[MINOR] fix the status return of the init script

R.I. Pienaar reported to me that the init script provided with
haproxy did not correctly report the status of the rhstatus()
function. In fact this was caused by the "exit $RETVAL" instead
of "exit $?" at the end.
examples/haproxy.init