[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#430386: full patch, i've missed in previous mail



diff -u /etc/init.d/apache2 /tmp/apache2
--- /etc/init.d/apache2 2007-06-18 00:12:56.000000000 +0400
+++ /tmp/apache2        2007-06-24 06:46:46.135775844 +0400
@@ -102,10 +102,10 @@
        if [ -n "${PID:-}" ]; then
                i=0
                while $(kill -0 "${PID:-}" 2> /dev/null);  do
-                       if [[ $i == '30' ]]; then
+                       if [ $i -eq 30 ]; then
                                break;
                        else
-                               if [[ $i == '0' ]]; then
+                               if [ $i -eq 0 ]; then
                                        echo -n " waiting "
                                else
                                        echo -n "."


-- 
Best regards,
 Alexander GQ Gerasiov

 Contacts:
 e-mail: gq@cs.msu.su
 Homepage: http://gq.net.ru



Reply to: