SOURCES: squid.init - note of endless loop

glen glen at pld-linux.org
Mon Sep 5 11:26:06 CEST 2005


Author: glen                         Date: Mon Sep  5 09:26:04 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- note of endless loop

---- Files affected:
SOURCES:
   squid.init (1.37 -> 1.38) 

---- Diffs:

================================================================
Index: SOURCES/squid.init
diff -u SOURCES/squid.init:1.37 SOURCES/squid.init:1.38
--- SOURCES/squid.init:1.37	Mon May 16 13:47:58 2005
+++ SOURCES/squid.init	Mon Sep  5 11:25:58 2005
@@ -86,6 +86,8 @@
 		if [ ! $PID -eq 0 ]; then
 			show "Waiting for Squid to stop"
 			busy
+			# FIXME: DEADLOOP!
+			# redirect_program could stay lingering around and this loop is never breaken
 			while ps -U squid -o user | grep -q ^squid
 			do
 				sleep 1
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/squid.init?r1=1.37&r2=1.38&f=u




More information about the pld-cvs-commit mailing list