# HG changeset patch
# User Florian Haas <[email protected]>
# Date 1274014152 -7200
# Node ID 2bfdecbb12a33092ef07e1aea75e1ab0e6d6476d
# Parent  0b6db8fde1a8d947867cfed13b2df88bce157fd5
Low: anything: fix arithmetic expression (Debian #581073)

Fix possible bashism.

diff -r 0b6db8fde1a8 -r 2bfdecbb12a3 heartbeat/anything
--- a/heartbeat/anything        Sun May 16 14:48:23 2010 +0200
+++ b/heartbeat/anything        Sun May 16 14:49:12 2010 +0200
@@ -126,7 +126,7 @@
                                 return $OCF_SUCCESS
                         fi
                         sleep 1 
-                        let "i++"
+                        i=$((i+1))
                 done
                 ocf_log warn "Stop with SIGTERM failed/timed out, now sending 
SIGKILL."
                 kill -s 9 $pid


_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/

Reply via email to