From e41336c612186b1fe8e5776e5e5fb009d09d741c Mon Sep 17 00:00:00 2001 From: Roger Luethi Date: Tue, 2 Sep 2014 06:36:43 +0200 Subject: [PATCH] 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 --- labs/lib/osbash/virtualbox.functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/labs/lib/osbash/virtualbox.functions b/labs/lib/osbash/virtualbox.functions index 6aeb7813..79d7131b 100644 --- a/labs/lib/osbash/virtualbox.functions +++ b/labs/lib/osbash/virtualbox.functions @@ -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"