summaryrefslogtreecommitdiff
path: root/setup-disk.in
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2016-12-21 20:44:08 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2016-12-21 20:44:08 +0000
commitf133bfa2ddf73b07e4ecf92d724ed7c416f4ff81 (patch)
tree20298688fd6fc8fbdf95554e051c413056ef38df /setup-disk.in
parentd58ab5e7e511f55b08f34683bd6978fb35f5b76a (diff)
downloadalpine-conf-f133bfa2ddf73b07e4ecf92d724ed7c416f4ff81.zip
setup-disk: dont use local in global scope
Diffstat (limited to 'setup-disk.in')
-rw-r--r--setup-disk.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup-disk.in b/setup-disk.in
index 588d37f..ab785fb 100644
--- a/setup-disk.in
+++ b/setup-disk.in
@@ -1031,7 +1031,7 @@ if [ -n "$diskdevs" ] && [ -z "$DISK_MODE" ]; then
while true; do
echo "The following $disk_is_or_disks_are selected${USE_LVM:+ (with LVM)}:"
show_disk_info $diskdevs
- local _lvm=${USE_LVM:-", 'lvm'"}
+ _lvm=${USE_LVM:-", 'lvm'"}
echon "How would you like to use $it_them? ('sys', 'data'${_lvm#_lvm} or '?' for help) [?] "
default_read answer '?'
case "$answer" in