Fix long lines
authorBryn M. Reeves <bmr@redhat.com>
Mon, 21 Jan 2013 22:51:00 +0000 (22:51 +0000)
committerBryn M. Reeves <bmr@redhat.com>
Mon, 21 Jan 2013 22:51:00 +0000 (22:51 +0000)
blkdevalias

index 41039c9..30a2755 100755 (executable)
@@ -89,7 +89,8 @@ ba_store_wwid_map() {
         exit 1
     fi
     for _WWID in ${!WWIDMAP[@]}; do
-        _print "$_WWID ${WWIDMAP[$_WWID]} ${TYPEMAP[$_WWID]} ${PARTMAP[$_WWID]}"
+        _print "$_WWID ${WWIDMAP[$_WWID]}" \
+                "${TYPEMAP[$_WWID]} ${PARTMAP[$_WWID]}"
     done  >> $_TMP_MAP
     mv $_TMP_MAP $BA_MAP_PATH
     # we may be running as root - if so re-chown the configs
@@ -230,10 +231,12 @@ ba_refresh_device () {
     _LINKDEST=$($BA_READLINK $_DEVPATH)
     if [ "$?" != 0 ]; then
         _DEVNAME=$($BA_BASENAME $_DEVPATH | $BA_SED 's/p\+[1-9]*$//')
-        _debug "ba_refresh_device: non-symlinked dev at $_DEVPATH has name $_DEVNAME"
+        _debug "ba_refresh_device: non-symlinked dev at " \
+            "$_DEVPATH has name $_DEVNAME"
     else
         _DEVNAME=$($BA_BASENAME $_LINKDEST)
-        _debug "ba_refresh_device: symlinked dev at $_DEVPATH has name $_DEVNAME"
+        _debug "ba_refresh_device: symlinked dev at" \
+            "$_DEVPATH has name $_DEVNAME"
     fi
     _debug "ba_refresh_device: requesting change uevent at" \
             "sysfs path /sys/block/$_DEVNAME"
@@ -382,7 +385,8 @@ ba_querydisk () {
         exit 2
     fi
     _WWID=${NAMEMAP[$_ALIAS]}
-    _debug "ba_querydisk: ALIAS=\"$_ALIAS\" WWID=\"$_WWID\" LISTDEV=\"$_LISTDEV\""
+    _debug "ba_querydisk: ALIAS=\"$_ALIAS\"" \
+        "WWID=\"$_WWID\" LISTDEV=\"$_LISTDEV\""
     if [ "$_LISTDEV" == "1" ]; then
         DEV="/dev/$BA_DEV_PATH/$(readlink "/dev/$BA_DEV_PATH/$_ALIAS")"
         MAJ="$[0x$(stat --format "%t" $DEV)]"