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:
David Sterba 2023-11-02 01:21:25 +01:00
parent b1e2de452a
commit e39c04ef44
1 changed files with 1 additions and 1 deletions

View File

@ -123,7 +123,7 @@ function _parse_zone_size() {
_dbg "ARG: $1" _dbg "ARG: $1"
if [ "$1" = '-z' ]; then if [ "$1" = '-z' ]; then
zonesize="$2" zonesize="$2"
if [ -z "$size" ]; then if [ -z "$zonesize" ]; then
_error "-z requires size" _error "-z requires size"
fi fi
shift shift