From e095362f591229bca41a2f2eb588fa45e2299911 Mon Sep 17 00:00:00 2001 From: Ali Jelveh Date: Tue, 14 Aug 2012 22:33:36 +0200 Subject: [PATCH] * acutally increment the counter --- apache2.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/apache2.rb b/apache2.rb index df85930..6ff8d7d 100644 --- a/apache2.rb +++ b/apache2.rb @@ -211,6 +211,7 @@ def disable_mod(mod) echo "waiting for pid" until [ -e "$APACHE_PID_FILE" ] || [ $CHECK_COUNTER -gt 3 ]; do echo "." + CHECK_COUNTER=$((CHECK_COUNTER+1)) sleep 1 done if [ -e "$APACHE_PID_FILE" ]; then