labs: bad variable reference in get_next_child_uuid
The recent renaming of local variables missed an instance of a variable. Fixed. Change-Id: I75da4382fc35dd288879715d987e8fabb8e2aa47
This commit is contained in:
parent
f678c9ebe8
commit
e41336c612
@ -190,7 +190,7 @@ function get_next_child_uuid {
|
||||
local line=""
|
||||
if disk_registered "$disk"; then
|
||||
line=$(WBATCH= $VBM showhdinfo "$disk" | grep -e "^Child UUIDs:")
|
||||
child_uuid=${LINE##Child UUIDs:* }
|
||||
child_uuid=${line##Child UUIDs:* }
|
||||
fi
|
||||
echo -e "next_child_uuid $disk:\n\t$line\n\t$child_uuid" >> "$VBM_LOG"
|
||||
echo "$child_uuid"
|
||||
|
Loading…
x
Reference in New Issue
Block a user