Bug 171766 - net-misc/dhcp - dhcrelay init.d script is not POSIX compliant
Bug#: 171766 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: enhancement Priority: P2
Resolution: FIXED Assigned To: uberlord@gentoo.org Reported By: natanael.copa@gmail.com
Component: Ebuilds
URL: 
Summary: net-misc/dhcp - dhcrelay init.d script is not POSIX compliant
Keywords:  
Status Whiteboard: 
Opened: 2007-03-22 10:16 0000
Description:   Opened: 2007-03-22 10:16 0000
trivial fix:

--- dhcrelay.init.orig  Thu Mar 22 10:04:43 2007
+++ dhcrelay.init       Thu Mar 22 10:06:20 2007
@@ -9,7 +9,7 @@
 }

 start() {
-       if [[ -z ${DHCRELAY_SERVERS} ]]; then
+       if [ -z "${DHCRELAY_SERVERS}" ]; then
                eerror "No DHCRELAY_SERVERS specified in /etc/conf.d/dhcrelay"
                return 1
        fi

------- Comment #1 From Roy Marples (RETIRED) 2007-03-22 15:37:29 0000 -------
Fixed, thanks