From: Aruna B. <ar...@li...> - 2014-09-17 06:36:02
|
Fix checking for hbtl in of2l_scsi (). Signed-off-by: Aruna Balakrishnaiah <ar...@li...> --- scripts/ofpathname | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/ofpathname b/scripts/ofpathname index 31000a6..97032bb 100755 --- a/scripts/ofpathname +++ b/scripts/ofpathname @@ -1173,7 +1173,7 @@ of2l_scsi() local devspec=`$CAT ./devspec 2>/dev/null` # Handle virtio block devices - if [[ !$hbtl && $devspec = $DEVNAME ]]; then + if [[ $hbtl = 0 && $devspec = $DEVNAME ]]; then LOGICAL_DEVNAME="${dir##*/}" return fi |