# HG changeset patch
# User Florian Haas <[email protected]>
# Date 1274014203 -7200
# Node ID 18238fc1b645b3c15ee6a53df2bba1673959e65b
# Parent  2bfdecbb12a33092ef07e1aea75e1ab0e6d6476d
Low: CTDB: fix iteration (Debian #581073)

Fix possible bashism.

diff -r 2bfdecbb12a3 -r 18238fc1b645 heartbeat/CTDB
--- a/heartbeat/CTDB    Sun May 16 14:49:12 2010 +0200
+++ b/heartbeat/CTDB    Sun May 16 14:50:03 2010 +0200
@@ -356,7 +356,7 @@
                # Wait a bit for CTDB to stabilize
                # (can be broken if, e.g. ctdb socket wrong
                # or not specified in smb.conf)
-               for i in {1..30}; do
+               for i in `seq 30`; do
                        # Initial sleep is intentional (ctdb init script
                        # has sleep after ctdbd start, but before invoking
                        # ctdb to talk to it)


_______________________________________________________
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