From 32e004944f8ece8ee7593adf686cfb892bbfe107 Mon Sep 17 00:00:00 2001 From: Rafael Ravedutti Date: Mon, 23 Jan 2023 22:54:44 +0100 Subject: [PATCH] Fix flags parsing for script Signed-off-by: Rafael Ravedutti --- util/evaluate_latency_and_cfd.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/util/evaluate_latency_and_cfd.sh b/util/evaluate_latency_and_cfd.sh index c07ea65..28e2f55 100644 --- a/util/evaluate_latency_and_cfd.sh +++ b/util/evaluate_latency_and_cfd.sh @@ -18,8 +18,8 @@ NRUNS="${NRUNS:-3}" LOG="${LOG:-latencies_and_cfds.log}" STUB_ONLY="${STUB_ONLY:-false}" -while getopts c:f:n:l:s flag -do +OPTIND=2 +while getopts "c:f:n:l:s" flag; do case "${flag}" in c) CORE=${OPTARG};; f) FREQ=${OPTARG};;