Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 172554 - net-proxy/haproxy init.d script is not POSIX compliant
Summary: net-proxy/haproxy init.d script is not POSIX compliant
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Gentoo Network Proxy Developers (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-28 13:58 UTC by Natanael Copa
Modified: 2007-03-30 08:47 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Natanael Copa 2007-03-28 13:58:54 UTC
fix:

--- haproxy.initd.orig  2007-03-28 13:54:45 +0000
+++ haproxy.initd       2007-03-28 13:55:34 +0000
@@ -4,7 +4,7 @@
 # $Header: /var/cvsroot/gentoo-x86/net-proxy/haproxy/files/haproxy.initd,v 1.1 2006/06/11 14:05:43 mrness Exp $
 
 checkconfig() {
-       if [[ ! -f /etc/haproxy.cfg ]] ; then
+       if [ ! -f /etc/haproxy.cfg ] ; then
                eerror "/etc/haproxy.cfg does not exist!"
                return 1
        fi
Comment 1 Alin Năstac (RETIRED) gentoo-dev 2007-03-30 08:47:44 UTC
fixed in cvs.