Commit 96e6a649 authored by Colin Watson's avatar Colin Watson

Move 'local' down a line in create_new_partition in order to work

properly with bash, which initialises local variables without an
accompanying assignment to empty rather than to any previous value.

r53484
parent ad07a8bd
partman-partitioning (60) UNRELEASED; urgency=low
* Silence warning in case $id/options already exists.
* Move 'local' down a line in create_new_partition in order to work
properly with bash, which initialises local variables without an
accompanying assignment to empty rather than to any previous value.
-- Colin Watson <cjwatson@debian.org> Tue, 27 May 2008 10:17:15 +0100
......
......@@ -125,8 +125,8 @@ ask_for_place () {
}
create_new_partition () {
local num id size type fs path name mp mplist mpcurrent numparts device
open_dialog NEW_PARTITION $type ext2 $freeid $place $size
local num id size type fs path name mp mplist mpcurrent numparts device
id=''
read_line num id size type fs path name
close_dialog
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment