summaryrefslogtreecommitdiff
path: root/setup-lbu.in
diff options
context:
space:
mode:
Diffstat (limited to 'setup-lbu.in')
-rw-r--r--setup-lbu.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/setup-lbu.in b/setup-lbu.in
index 3a942d5..7c3c21e 100644
--- a/setup-lbu.in
+++ b/setup-lbu.in
@@ -97,6 +97,9 @@ set_media() {
echo "$media: Could not find filesystem type" >&2
exit 1
fi
+ if [ -n "$UUID" ]; then
+ UUID="UUID=$UUID"
+ fi
# use LABEL= if it was specifically selected, otherwise use UUID
case "$media" in
LABEL=*|UUID=*) UUID="$media";;