summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--setup-bootable.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup-bootable.in b/setup-bootable.in
index 0414cb4..2c16bc5 100644
--- a/setup-bootable.in
+++ b/setup-bootable.in
@@ -170,7 +170,7 @@ dev="$dest"
while [ -L "$dev" ]; do
dev=$(readlink -f $dev)
done
-parent_dev=$(find_disk_dev)
+parent_dev=$(find_disk_dev $dev)
# check if this files exist and not in upgrade mode
if [ -z "$upgrade" ] && [ -z "$force" ]; then