From: bones_was_here Date: Sun, 12 Apr 2020 21:32:45 +0000 (+1000) Subject: Fix omission of user supplied args X-Git-Tag: xonotic-v0.8.5~94^2~1 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=9e34e2f43bdec4beadd6a8d893071636a68767c0;p=xonotic%2Fxonotic.git Fix omission of user supplied args --- diff --git a/misc/tools/all/xonotic.subr b/misc/tools/all/xonotic.subr index 9d338b80..9eb9bc0d 100644 --- a/misc/tools/all/xonotic.subr +++ b/misc/tools/all/xonotic.subr @@ -396,7 +396,7 @@ case "$cmd" in serverbench) # TODO(rpolzer): Why does :anticheat: output differ? Total game time differs? Why? mkdir -p .serverbench_temp - verbose "$SELF" run dedicated -noconfig -userdir .serverbench_temp +exec serverbench.cfg |\ + verbose "$SELF" run dedicated "$@" -noconfig -userdir .serverbench_temp +exec serverbench.cfg |\ tee /dev/stderr |\ grep '^:' |\ grep -v '^:gamestart:' |\