summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2015-05-24 02:19:20 (EDT)
committer P. J. McDermott <pj@pehjota.net>2015-05-24 02:19:20 (EDT)
commitfb23c0bd36f8ffae7ab14b23ce0a2e7985b8c858 (patch)
tree9576f2fe523f0720c00aa8eb9073456345e5ce9d /lib
parent09b53de79834fefcb6d9e83c86c0fdf729088292 (diff)
cmd/install: Initialize ${dev}
Diffstat (limited to 'lib')
-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}")"