[Drbd-dev] missing shift in snapshot-resync-target-lvm.sh
Nathan Faber
nathanfaber at gmail.com
Thu Feb 11 23:46:30 CET 2010
Hi,
In 8.3.7 and in 8.3 git the shift on the percent arg is off by one and
causes an infinite loop on before-resync-target execution.
--- snapshot-resync-target-lvm-orig.sh 2010-02-03 18:54:27.000000000 -0500
+++ snapshot-resync-target-lvm.sh 2010-02-11 17:34:46.000000000 -0500
@@ -44,7 +44,7 @@
case $1 in
-p|--percent)
SNAP_PERC="$2"
- shift
+ shift 2
;;
-a|--additional)
SNAP_ADDITIONAL="$2"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-dev/attachments/20100211/bba42f71/attachment.htm>
More information about the drbd-dev
mailing list