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

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

 



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

Signed-off-by: Hannes Reinecke <hare@xxxxxxx>
---
 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

--
dm-devel mailing list
dm-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/dm-devel


[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux