scripts/rxe_cfg: Add env switch to skip printing status header
Signed-off-by: Michal Berger <michalx.berger@intel.com> Change-Id: Ibc3149b5b9591826ff9aeed38457c2aa9ff747e4 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/6993 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Mellanox Build Bot Reviewed-by: Karol Latecki <karol.latecki@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
This commit is contained in:
parent
e99cfdb6c9
commit
4d52dae32a
@ -178,6 +178,10 @@ print_status() {
|
||||
local field field_ref fieldidx
|
||||
local pad
|
||||
|
||||
if [[ -n $NO_HEADER ]]; then
|
||||
unset -v "lines[0]"
|
||||
fi
|
||||
|
||||
for field_ref in "${lines[@]}"; do
|
||||
printf ' '
|
||||
fieldidx=0
|
||||
|
Loading…
Reference in New Issue
Block a user