Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 170093
Collapse All | Expand All

(-)data.orig/etc/init.d/squid (-2 / +2 lines)
Lines 30-37 Link Here
30
	for x in $CACHE_SWAP ; do
30
	for x in $CACHE_SWAP ; do
31
		if [ ! -d $x/00 ] ; then
31
		if [ ! -d $x/00 ] ; then
32
			ebegin "Initializing cache directories"
32
			ebegin "Initializing cache directories"
33
			local INIT_CACHE_RESPONSE=`/usr/sbin/squid -z -N -D 2>&1`
33
			local INIT_CACHE_RESPONSE="`/usr/sbin/squid -z -N -D 2>&1`"
34
			if [ $? != 0 ] || [ "$INIT_CACHE_RESPONSE" != "${INIT_CACHE_RESPONSE/erminated abnormally}" ]; then
34
			if [ $? != 0 ] || echo "$INIT_CACHE_RESPONSE" | grep "erminated abnormally" >/dev/null; then
35
				eend 1
35
				eend 1
36
				echo "$INIT_CACHE_RESPONSE"
36
				echo "$INIT_CACHE_RESPONSE"
37
				return 1
37
				return 1

Return to bug 170093