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:
Roger Luethi 2014-09-02 06:36:43 +02:00
parent f678c9ebe8
commit e41336c612

View File

@ -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"