diff --git a/cmake_targets/autotests/tools/iperf_script b/cmake_targets/autotests/tools/iperf_script
index 50f1947f78ea263f0662052fb510a1e38abc550f..ecd2f7a996911586e6986aca96e73848065ea591 100755
--- a/cmake_targets/autotests/tools/iperf_script
+++ b/cmake_targets/autotests/tools/iperf_script
@@ -10,7 +10,7 @@ iface=${args[1]}
 iperf_args=(${args[@]:2})
 
 #array=${1:-1}
-echo "args =  $array"
+echo "args =  ${args[@]}"
 echo "timeout = $timeout"
 echo "iface = $iface"
 echo "iperf_args = ${iperf_args[@]}"