Skip to content

Commit b836ce9

Browse files
committed
tweak perf-kevm script to accept server options on the branch
1 parent ecd1167 commit b836ce9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/performance-tests-kevm.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ mkdir -p $SCRIPT_DIR/logs
109109
# use special options if given, but restore KORE_RPC_OPTS afterwards
110110
if [ ! -z "${FEATURE_SERVER_OPTS}" ]; then
111111
echo "Using special options '${FEATURE_SERVER_OPTS}' via KORE_RPC_OPTS"
112-
if [ ! -z "${KORE_RPC_OPTS}" ]; then
112+
if [ ! -z "${KORE_RPC_OPTS:-}" ]; then
113113
PRIOR_OPTS=${KORE_RPC_OPTS}
114114
fi
115115
export KORE_RPC_OPTS=${FEATURE_SERVER_OPTS}
@@ -120,7 +120,7 @@ killall kore-rpc-booster || echo "No zombie processes found"
120120

121121

122122
if [ -z "$BUG_REPORT" ]; then
123-
if [ ! -z "${PRIOR_OPTS}" ]; then
123+
if [ ! -z "${PRIOR_OPTS:-}" ]; then
124124
export KORE_RPC_OPTS=${PRIOR_OPTS}
125125
else
126126
unset KORE_RPC_OPTS

0 commit comments

Comments
 (0)