Skip to content

Commit e39c04e

Browse files
committed
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 <[email protected]>
1 parent b1e2de4 commit e39c04e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/nullb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ function _parse_zone_size() {
123123
_dbg "ARG: $1"
124124
if [ "$1" = '-z' ]; then
125125
zonesize="$2"
126-
if [ -z "$size" ]; then
126+
if [ -z "$zonesize" ]; then
127127
_error "-z requires size"
128128
fi
129129
shift

0 commit comments

Comments
 (0)