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

[dm-devel] [PATCH 33/42] Syntax error in /etc/init.d/boot.multipath



The multipath init script has a syntax error in line 113.

Signed-off-by: Hannes Reinecke <hare suse de>
---
 multipath/multipath.init.suse |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/multipath/multipath.init.suse b/multipath/multipath.init.suse
index cc7c04b..c7cd5c7 100644
--- a/multipath/multipath.init.suse
+++ b/multipath/multipath.init.suse
@@ -110,7 +110,7 @@ case "$1" in
 		partlist=$(/sbin/kpartx -l -p _part /dev/disk/by-id/dm-name-$map | sed 's/\([^ ]*\) :.*/\1/p')
 		for part in $partlist; do
 		    [ -e /dev/disk/by-id/dm-name-$part ] && continue
-		    num$((num + 1))
+		    num=$((num + 1))
 		done
 	    done
 	    [ $num -eq 0 ] && break
-- 
1.7.4.2


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