btrfs-progs: tests: fix parsing zone size in nullb
The zone size may not be parsed correctly in 'nullb create' due to copy&paste error from the 'size'. This is already fixed upstream. Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
b1e2de452a
commit
e39c04ef44
|
@ -123,7 +123,7 @@ function _parse_zone_size() {
|
|||
_dbg "ARG: $1"
|
||||
if [ "$1" = '-z' ]; then
|
||||
zonesize="$2"
|
||||
if [ -z "$size" ]; then
|
||||
if [ -z "$zonesize" ]; then
|
||||
_error "-z requires size"
|
||||
fi
|
||||
shift
|
||||
|
|
Loading…
Reference in New Issue