packages: varnish/varnish.init - be exact when grepping env

glen glen at pld-linux.org
Mon Apr 5 18:33:04 CEST 2010


Author: glen                         Date: Mon Apr  5 16:33:04 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- be exact when grepping env

---- Files affected:
packages/varnish:
   varnish.init (1.18 -> 1.19) 

---- Diffs:

================================================================
Index: packages/varnish/varnish.init
diff -u packages/varnish/varnish.init:1.18 packages/varnish/varnish.init:1.19
--- packages/varnish/varnish.init:1.18	Mon Apr  5 18:28:00 2010
+++ packages/varnish/varnish.init	Mon Apr  5 18:32:59 2010
@@ -31,7 +31,7 @@
 
 # import some env from parent process
 if [ -f /proc/$PPID/environ ]; then
-	eval $(tr '\0' '\n' < /proc/$PPID/environ | grep -E '^(USER|SUDO_USER|LOGNAME)')
+	eval $(tr '\0' '\n' < /proc/$PPID/environ | grep -E '^(USER|SUDO_USER|LOGNAME)=')
 	LOGNAME=${SUDO_USER:-${LOGNAME:-$USER}}
 fi
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/varnish/varnish.init?r1=1.18&r2=1.19&f=u



More information about the pld-cvs-commit mailing list