summaryrefslogtreecommitdiffstats
path: root/lib/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'lib/cmd')
-rw-r--r--lib/cmd/install.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/cmd/install.sh b/lib/cmd/install.sh
index 614f800..6d8c3f8 100644
--- a/lib/cmd/install.sh
+++ b/lib/cmd/install.sh
@@ -98,6 +98,7 @@ cmd_install_main()
foreign=false
fi
+ dev=''
if is_block "${chroot}"; then
dev="${chroot}"
chroot="$(block_mount "${dev}")"