diff --git a/net/net.sh b/net/net.sh index 2e2f68a69c..b5d68e1c38 100755 --- a/net/net.sh +++ b/net/net.sh @@ -835,8 +835,8 @@ while [[ -n $1 ]]; do doBuild=false shift 1 elif [[ $1 = --limit-ledger-size ]]; then - maybeLimitLedgerSize="$1" - shift 1 + maybeLimitLedgerSize="$1" "$2" + shift 2 elif [[ $1 = --skip-poh-verify ]]; then maybeSkipLedgerVerify="$1" shift 1